Home
last modified time | relevance | path

Searched refs:resource_handle (Results 1 – 25 of 61) sorted by relevance

123

/external/tensorflow/tensorflow/python/ops/
Dboosted_trees_ops.py73 def __init__(self, resource_handle, create_op, num_streams, name): argument
74 self._resource_handle = resource_handle
121 resources.register_resource(self.resource_handle, self._init_op,
124 self.resource_handle, self._init_op, self._num_streams,
125 self.resource_handle.name)
133 return create_quantile_stream_resource(self.resource_handle, self._eps,
143 return is_quantile_resource_initialized(self.resource_handle)
155 summary_op = quantile_add_summaries(self.resource_handle, summaries)
159 return quantile_flush(self.resource_handle, self._num_quantiles)
162 return get_bucket_boundaries(self.resource_handle, self._num_streams)
[all …]
Dlookup_ops.py204 with ops.name_scope(name, "%s_Size" % self.name, [self.resource_handle]):
205 return gen_lookup_ops.lookup_table_size_v2(self.resource_handle)
235 (self.resource_handle, key_tensor, self._default_value)):
236 values = gen_lookup_ops.lookup_table_find_v2(self.resource_handle,
343 with ops.name_scope(name, "%s_Export" % self.name, [self.resource_handle]):
345 self.resource_handle, self._key_dtype, self._value_dtype)
492 table.resource_handle, self.dataset._variant_tensor) # pylint: disable=protected-access
558 self._name, values=(table.resource_handle, self._keys, self._values)):
559 init_op = gen_lookup_ops.lookup_table_import_v2(table.resource_handle,
747 with ops.name_scope(self._name, "text_file_init", (table.resource_handle,)):
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_op_interfaces.h83 friend ::llvm::hash_code hash_value(const ResourceHandle& resource_handle);
92 inline ::llvm::hash_code hash_value(const ResourceHandle& resource_handle) { in hash_value() argument
93 return ::llvm::hash_combine(resource_handle.container, resource_handle.name, in hash_value()
94 resource_handle.device, resource_handle.op); in hash_value()
124 const mlir::TF::ResourceHandle& resource_handle) {
125 return mlir::TF::hash_value(resource_handle);
/external/tensorflow/tensorflow/python/kernel_tests/boosted_trees/
Dprediction_ops_test.py40 tree_ensemble_handle = tree_ensemble.resource_handle
74 tree_ensemble_handle = tree_ensemble.resource_handle
148 tree_ensemble_handle = tree_ensemble.resource_handle
217 tree_ensemble_handle = tree_ensemble.resource_handle
289 tree_ensemble_handle = tree_ensemble.resource_handle
360 tree_ensemble_handle = tree_ensemble.resource_handle
434 tree_ensemble_handle = tree_ensemble.resource_handle
522 tree_ensemble_handle = tree_ensemble.resource_handle
636 tree_ensemble_handle = tree_ensemble.resource_handle
787 tree_ensemble_handle = tree_ensemble.resource_handle
[all …]
Dtraining_ops_test.py43 tree_ensemble_handle = tree_ensemble.resource_handle
153 tree_ensemble_handle = tree_ensemble.resource_handle
262 tree_ensemble_handle = tree_ensemble.resource_handle
371 tree_ensemble_handle = tree_ensemble.resource_handle
505 tree_ensemble_handle = tree_ensemble.resource_handle
585 tree_ensemble_handle = tree_ensemble.resource_handle
772 tree_ensemble_handle = tree_ensemble.resource_handle
981 tree_ensemble_handle = tree_ensemble.resource_handle
1193 tree_ensemble_handle = tree_ensemble.resource_handle
1442 tree_ensemble_handle = tree_ensemble.resource_handle
[all …]
/external/tensorflow/tensorflow/python/training/tracking/
Dtracking_test.py169 self.assertEqual("test1", resource_tracker.resources[0].resource_handle)
170 self.assertEqual("test2", resource_tracker.resources[1].resource_handle)
182 self.assertEqual("test1", resource_tracker1.resources[0].resource_handle)
184 self.assertEqual("test2", resource_tracker2.resources[0].resource_handle)
198 self.assertEqual("test1", resource_tracker1.resources[0].resource_handle)
200 self.assertEqual("test2", resource_tracker2.resources[0].resource_handle)
202 self.assertEqual("test1", resource_tracker.resources[0].resource_handle)
203 self.assertEqual("test2", resource_tracker.resources[1].resource_handle)
/external/tensorflow/tensorflow/c/experimental/saved_model/core/revived_types/
Dpartially_revived_objects.cc124 if (resource.resource_handle == nullptr) { in TensorHandleFromNode()
129 *handle = resource.resource_handle.get(); in TensorHandleFromNode()
412 AbstractTensorHandle* resource_handle = nullptr; in CreateAllResourceHandles() local
415 absl::MakeSpan(&resource_handle, num_retvals), &num_retvals)); in CreateAllResourceHandles()
416 AbstractTensorHandlePtr owned_resource_handle(resource_handle); in CreateAllResourceHandles()
424 resource.resource_handle = std::move(result); in CreateAllResourceHandles()
474 if (resource_revival_state.resource_handle == nullptr) { in BuildResources()
486 std::move(resource_revival_state.resource_handle))); in BuildResources()
Drestored_resource.cc50 ImmediateTensorHandlePtr resource_handle) in RestoredResource() argument
51 : TensorHandleConvertible(std::move(resource_handle)), in RestoredResource()
Drestored_resource_revival_state.h33 ImmediateTensorHandlePtr resource_handle = nullptr; member
Drestored_resource.h68 ImmediateTensorHandlePtr resource_handle);
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DSerializeIterator.pbtxt4 name: "resource_handle"
16 name: "resource_handle"
DIteratorFromStringHandle.pbtxt8 name: "resource_handle"
20 name: "resource_handle"
DDeserializeIterator.pbtxt4 name: "resource_handle"
DIteratorToStringHandle.pbtxt4 name: "resource_handle"
DIteratorFromStringHandleV2.pbtxt8 name: "resource_handle"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DSerializeIterator.pbtxt4 name: "resource_handle"
16 name: "resource_handle"
DIteratorFromStringHandle.pbtxt8 name: "resource_handle"
20 name: "resource_handle"
DDeserializeIterator.pbtxt4 name: "resource_handle"
DIteratorToStringHandle.pbtxt4 name: "resource_handle"
DIteratorFromStringHandleV2.pbtxt8 name: "resource_handle"
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_IteratorToStringHandle.pbtxt4 name: "resource_handle"
15 summary: "Converts the given `resource_handle` representing an iterator to a string."
Dapi_def_SerializeIterator.pbtxt4 name: "resource_handle"
16 summary: "Converts the given `resource_handle` representing an iterator to a variant tensor."
/external/tensorflow/tensorflow/core/kernels/
Dsession_ops.cc58 ResourceHandle resource_handle = MakeResourceHandle<Tensor>( in Compute() local
61 resource_handle.set_maybe_type_name( in Compute()
63 handle->scalar<ResourceHandle>()() = resource_handle; in Compute()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dlift_variables.cc102 const ResourceHandle& resource_handle = in LiftVariablesFromSession() local
106 if (!(device_manager->LookupDevice(resource_handle.device(), &device) in LiftVariablesFromSession()
113 ->Lookup(resource_handle.container(), resource_handle.name(), in LiftVariablesFromSession()
/external/tensorflow/tensorflow/core/kernels/data/
Dshuffle_dataset_op.cc445 ResourceHandle&& resource_handle) in Dataset() argument
448 resource_handle_(std::move(resource_handle)), in Dataset()
503 ResourceHandle&& resource_handle, bool owns_resource) in DatasetV2() argument
507 resource_handle_(std::move(resource_handle)), in DatasetV2()
557 ResourceHandle&& resource_handle, bool owns_resource) in DatasetV3() argument
561 resource_handle_(std::move(resource_handle)), in DatasetV3()
751 ResourceHandle&& resource_handle) in Dataset() argument
754 resource_handle_(std::move(resource_handle)), in Dataset()
806 ResourceHandle&& resource_handle, bool owns_resource) in DatasetV2() argument
810 resource_handle_(std::move(resource_handle)), in DatasetV2()

123