Searched refs:is_resource (Results 1 – 12 of 12) sorted by relevance
/external/tensorflow/tensorflow/core/ops/ |
D | training_ops.cc | 25 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/ |
D | test_resource.py | 14 self.assertTrue(resources.is_resource(self.data, 'binary.file')) 17 self.assertFalse(resources.is_resource(self.data, 'not-a-file')) 21 self.assertFalse(resources.is_resource(self.data, 'subdirectory')) 63 self.assertTrue(resources.is_resource(package, 'B')) 69 self.assertFalse(resources.is_resource(package, 'D')) 75 self.assertFalse(resources.is_resource(package, 'Z')) 93 self.assertFalse(resources.is_resource(module, 'A')) 119 resources.is_resource(submodule, 'binary.file')) 123 resources.is_resource('ziptestdata.subdirectory', 'binary.file')) 143 self.assertFalse(resources.is_resource(
|
D | test_abc.py | 316 def is_resource(self, *args, **kwargs): member in ResourceReader 317 return super().is_resource(*args, **kwargs) 337 self.ins.is_resource('dummy_file')
|
D | util.py | 428 def is_resource(self, path_): member in create_package.Reader
|
/external/python/cpython3/Lib/importlib/ |
D | resources.py | 218 def is_resource(package: Package, name: str) -> bool: function 227 return reader.is_resource(name)
|
D | abc.py | 378 def is_resource(self, name): member in ResourceReader
|
D | _bootstrap_external.py | 991 if not self.is_resource(resource): 996 def is_resource(self, name): member in FileLoader
|
/external/tensorflow/tensorflow/core/framework/ |
D | variable.proto | 64 bool is_resource = 5; field
|
/external/tensorflow/tensorflow/python/saved_model/ |
D | load_v1_in_v2_test.py | 451 is_resource=full_proto.is_resource)
|
/external/tensorflow/tensorflow/python/ops/ |
D | resource_variable_ops.py | 726 var_def.is_resource = True 1666 if not variable_def.is_resource: 1990 if v.is_resource:
|
/external/python/cpython3/Lib/ |
D | zipimport.py | 751 def is_resource(self, name): member in _ZipImportResourceReader
|
/external/python/cpython3/Doc/library/ |
D | importlib.rst | 529 .. abstractmethod:: is_resource(name) 539 acceptable to return names for which :meth:`is_resource` would 922 .. function:: is_resource(package, name)
|