Home
last modified time | relevance | path

Searched refs:is_resource (Results 1 – 25 of 33) sorted by relevance

12

/external/tensorflow/tensorflow/core/ops/
Dtraining_ops.cc25 template <bool is_resource>
51 template <bool is_sparse, bool is_resource>
54 ShapeHandle grad = ShapeOrHandleShape<is_resource>(c, grad_idx); in HandleGradAndIndicesInputs()
73 template <bool is_resource>
76 ShapeHandle s = ShapeOrHandleShape<is_resource>(c, 0); // var in ApplyGradientDescentShapeFn()
102 template <bool is_sparse, bool is_resource>
105 ShapeHandle s = ShapeOrHandleShape<is_resource>(c, 0); // var in ApplyProximalGradientDescentShapeFn()
109 TF_RETURN_IF_ERROR(HandleGradAndIndicesInputs<is_sparse, is_resource>( in ApplyProximalGradientDescentShapeFn()
167 template <bool is_sparse, bool is_resource>
170 ShapeHandle s = ShapeOrHandleShape<is_resource>(c, 0); // var in ApplyAdadeltaShapeFn()
[all …]
/external/python/cpython3/Lib/test/test_importlib/
Dtest_resource.py18 self.assertTrue(resources.is_resource(self.data, 'binary.file'))
21 self.assertFalse(resources.is_resource(self.data, 'not-a-file'))
25 self.assertFalse(resources.is_resource(self.data, 'subdirectory'))
67 self.assertTrue(resources.is_resource(package, 'B'))
73 self.assertFalse(resources.is_resource(package, 'D'))
79 self.assertFalse(resources.is_resource(package, 'Z'))
97 self.assertFalse(resources.is_resource(module, 'A'))
105 self.assertTrue(resources.is_resource(submodule, 'binary.file'))
109 resources.is_resource('ziptestdata.subdirectory', 'binary.file')
184 c = resources.is_resource('ziptestdata', 'binary.file')
[all …]
Dtest_abc.py319 def is_resource(self, *args, **kwargs): member in ResourceReader
320 return super().is_resource(*args, **kwargs)
340 self.ins.is_resource('dummy_file')
/external/python/setuptools/pkg_resources/_vendor/importlib_resources/
Dabc.py36 def is_resource(self, path: Text) -> bool: member in ResourceReader
133 def is_resource(self, path): member in TraversableResources
D__init__.py15 is_resource,
D_legacy.py96 def is_resource(package: Package, name: str) -> bool: function
Dreaders.py43 def is_resource(self, path): member in ZipReader
D_adapters.py97 return self._reader.is_resource(self.name)
/external/python/setuptools/setuptools/_vendor/importlib_resources/
Dabc.py36 def is_resource(self, path: Text) -> bool: member in ResourceReader
133 def is_resource(self, path): member in TraversableResources
D__init__.py15 is_resource,
D_legacy.py96 def is_resource(package: Package, name: str) -> bool: function
Dreaders.py43 def is_resource(self, path): member in ZipReader
D_adapters.py97 return self._reader.is_resource(self.name)
/external/python/cpython3/Lib/importlib/
Dresources.py145 def is_resource(package: Package, name: str) -> bool: function
154 return reader.is_resource(name)
Dabc.py341 def is_resource(self, path: Text) -> bool: member in ResourceReader
438 def is_resource(self, path): member in TraversableResources
Dreaders.py39 def is_resource(self, path): member in ZipReader
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/ops/
Dvariable_ops.cc42 template <typename T, bool is_resource>
63 if (is_resource) { in ReadVariableHelper()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dcompile_mlir_util.h89 bool is_resource = false; member
/external/python/setuptools/pkg_resources/_vendor/importlib_resources/tests/
Dutil.py36 def is_resource(self, path_): member in Reader
/external/python/setuptools/setuptools/_vendor/importlib_resources/tests/
Dutil.py36 def is_resource(self, path_): member in Reader
/external/tensorflow/tensorflow/core/framework/
Dvariable.proto63 bool is_resource = 5; field
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dweights.cc143 DCHECK(is_resource()); in resource()
Dweights.h217 bool is_resource() const { in is_resource() function
/external/pigweed/pw_transfer/public/pw_transfer/internal/
Dchunk.h32 constexpr bool is_resource() const { return !is_session(); } in is_resource() function
/external/pigweed/pw_transfer/
Dtransfer_thread.cc199 .match_resource_id = identifier->is_resource(), in ProcessChunk()

12