/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | CppAssetManager.java | 56 private static class asset_path { class in CppAssetManager 61 public asset_path() { in asset_path() method in CppAssetManager.asset_path 65 public asset_path(String8 path, FileType fileType, String8 idmap, in asset_path() method in CppAssetManager.asset_path 99 private final List<asset_path> mAssetPaths = new ArrayList<>(); 228 asset_path ap = new asset_path(); in addAssetPath() 568 boolean appendPathToResTable(final asset_path ap, boolean appAsLib) { in appendPathToResTable() 575 boolean appendPathToResTable_measured(final asset_path ap, boolean appAsLib) { in appendPathToResTable_measured() 742 Asset openIdmapLocked(asset_path ap) { in openIdmapLocked() 838 final asset_path ap) { in openNonAssetInPathLocked() 903 static String8 createPathNameLocked(final asset_path ap, final String rootDir) { in createPathNameLocked() [all …]
|
/external/tensorflow/tensorflow/contrib/session_bundle/ |
D | session_bundle_test.py | 97 asset_path = os.path.join(base_path, constants.ASSETS_DIRECTORY) 101 compat.as_bytes(os.path.join(asset_path, "hello1.txt")), path1) 103 compat.as_bytes(os.path.join(asset_path, "hello2.txt")), path2) 135 asset_path = os.path.join(base_path, constants.ASSETS_DIRECTORY) 139 compat.as_bytes(os.path.join(asset_path, "hello1.txt")), path1) 141 compat.as_bytes(os.path.join(asset_path, "hello2.txt")), path2)
|
D | session_bundle_test.cc | 141 const string asset_path = io::JoinPath(export_path, kAssetsDirectory); in CheckSessionBundle() local 150 test::AsTensor<string>({io::JoinPath(asset_path, "hello1.txt")}, in CheckSessionBundle() 154 test::AsTensor<string>({io::JoinPath(asset_path, "hello2.txt")}, in CheckSessionBundle()
|
D | bundle_shim_test.py | 327 asset_path = os.path.join(base_path, constants.ASSETS_DIRECTORY) 331 compat.as_bytes(os.path.join(asset_path, "hello1.txt")), path1) 333 compat.as_bytes(os.path.join(asset_path, "hello2.txt")), path2)
|
/external/tensorflow/tensorflow/contrib/session_bundle/example/ |
D | export_half_plus_two.py | 78 asset_path = tf.Variable(original_asset_path, 82 assign_asset_path = asset_path.assign(original_asset_path)
|
/external/tensorflow/tensorflow/python/training/tracking/ |
D | tracking.py | 209 def asset_path(self): member in TrackableAsset 215 lambda asset, **kw: ops.internal_convert_to_tensor(asset.asset_path, **kw))
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowArscAssetManager9.java | 679 protected static long nativeOpenAsset(long ptr, @NonNull String asset_path, int access_mode) in nativeOpenAsset() argument 681 String asset_path_utf8 = asset_path; in nativeOpenAsset() 709 @NonNull String asset_path, long[] out_offsets) throws IOException { in nativeOpenAssetFd() argument 710 String asset_path_utf8 = asset_path; in nativeOpenAssetFd() 729 protected static long nativeOpenNonAsset(long ptr, int jcookie, @NonNull String asset_path, in nativeOpenNonAsset() argument 732 String asset_path_utf8 = asset_path; in nativeOpenNonAsset() 767 @NonNull String asset_path, @NonNull long[] out_offsets) throws IOException { in nativeOpenNonAssetFd() argument 769 String asset_path_utf8 = asset_path; in nativeOpenNonAssetFd() 794 protected static long nativeOpenXmlAsset(long ptr, int jcookie, @NonNull String asset_path) in nativeOpenXmlAsset() argument 797 String asset_path_utf8 = asset_path; in nativeOpenXmlAsset()
|
D | ShadowArscAssetManager10.java | 683 protected static long nativeOpenAsset(long ptr, @NonNull String asset_path, int access_mode) in nativeOpenAsset() argument 685 String asset_path_utf8 = asset_path; in nativeOpenAsset() 713 @NonNull String asset_path, long[] out_offsets) throws IOException { in nativeOpenAssetFd() argument 714 String asset_path_utf8 = asset_path; in nativeOpenAssetFd() 733 protected static long nativeOpenNonAsset(long ptr, int jcookie, @NonNull String asset_path, in nativeOpenNonAsset() argument 736 String asset_path_utf8 = asset_path; in nativeOpenNonAsset() 771 @NonNull String asset_path, @NonNull long[] out_offsets) throws IOException { in nativeOpenNonAssetFd() argument 773 String asset_path_utf8 = asset_path; in nativeOpenNonAssetFd() 798 protected static long nativeOpenXmlAsset(long ptr, int jcookie, @NonNull String asset_path) in nativeOpenXmlAsset() argument 801 String asset_path_utf8 = asset_path; in nativeOpenXmlAsset()
|
/external/tensorflow/tensorflow/python/summary/writer/ |
D | writer.py | 225 asset_path = os.path.join(plugin_dir, asset_name) 226 with gfile.Open(asset_path, "w") as f:
|
/external/tensorflow/tensorflow/python/saved_model/ |
D | load_v1_in_v2.py | 57 self._init_fn(*[path.asset_path for path in self._asset_paths])
|
D | load_test.py | 145 with open(imported.asset1.asset_path.numpy(), "r") as f: 147 with open(imported.asset2.asset_path.numpy(), "r") as f: 154 lambda: root.vocab.asset_path, 167 lambda: root.vocab.asset_path, 192 self.assertEqual(imported.asset1.asset_path.numpy(), 193 imported.asset2.asset_path.numpy())
|
D | save.py | 227 self.captured_tensor_node_ids[obj.asset_path] = node_id 449 original_variable = trackable_asset.asset_path
|
D | load.py | 119 return obj.asset_path
|
D | save_test.py | 328 root.get_asset = def_function.function(lambda: root.path.asset_path)
|