Home
last modified time | relevance | path

Searched refs:asset_path (Results 1 – 14 of 14) sorted by relevance

/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DCppAssetManager.java56 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/
Dsession_bundle_test.py97 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)
Dsession_bundle_test.cc141 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()
Dbundle_shim_test.py327 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/
Dexport_half_plus_two.py78 asset_path = tf.Variable(original_asset_path,
82 assign_asset_path = asset_path.assign(original_asset_path)
/external/tensorflow/tensorflow/python/training/tracking/
Dtracking.py209 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/
DShadowArscAssetManager9.java679 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()
DShadowArscAssetManager10.java683 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/
Dwriter.py225 asset_path = os.path.join(plugin_dir, asset_name)
226 with gfile.Open(asset_path, "w") as f:
/external/tensorflow/tensorflow/python/saved_model/
Dload_v1_in_v2.py57 self._init_fn(*[path.asset_path for path in self._asset_paths])
Dload_test.py145 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())
Dsave.py227 self.captured_tensor_node_ids[obj.asset_path] = node_id
449 original_variable = trackable_asset.asset_path
Dload.py119 return obj.asset_path
Dsave_test.py328 root.get_asset = def_function.function(lambda: root.path.asset_path)