Home
last modified time | relevance | path

Searched refs:to_tensor (Results 1 – 25 of 32) sorted by relevance

12

/external/tensorflow/tensorflow/core/distributed_runtime/
Dcollective_rma_distributed.cc38 const AllocatorAttributes& to_alloc_attr, Tensor* to_tensor, in RecvBufCall() argument
47 req_.set_num_bytes(to_tensor->TotalBytes()); in RecvBufCall()
48 req_.set_buf_ptr(reinterpret_cast<int64>(DMAHelper::base(to_tensor))); in RecvBufCall()
79 const AllocatorAttributes& to_alloc_attr, Tensor* to_tensor, in RecvFromPeer() argument
85 to_alloc_attr, to_tensor, client_locality, dev_to_dev_stream_index, in RecvFromPeer()
100 to_device_ctx, to_tensor, dev_to_dev_stream_index, in RecvFromPeer()
112 if (num_bytes != to_tensor->TotalBytes()) { in RecvFromPeer()
115 to_tensor->TotalBytes())); in RecvFromPeer()
133 to_tensor->dtype(), to_tensor->shape()); in RecvFromPeer()
139 to_tensor, dev_to_dev_stream_index, in RecvFromPeer()
[all …]
Dcollective_rma_distributed.h40 const AllocatorAttributes& to_alloc_attr, Tensor* to_tensor,
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_to_tensor_op_test.py97 dt = rt.to_tensor()
341 dt = rt.to_tensor(default_value=default, shape=shape)
400 self.evaluate(rt.to_tensor(default_value=default, shape=shape))
405 rt_placeholder.to_tensor(default_value=default, shape=shape))
409 actual = input_data.to_tensor(
416 actual = input_data.to_tensor(
424 actual = input_data.to_tensor(
431 actual = input_data.to_tensor(
438 actual = input_data.to_tensor(shape=[4, 4])
460 actual = input_data.to_tensor(default_value=default_value)
[all …]
Dragged_squeeze_op_test.py54 self.assertAllEqual(ragged_conversion_ops.to_tensor(rt), dt)
114 self.assertAllEqual(ragged_conversion_ops.to_tensor(rt), dt)
169 self.assertAllEqual(ragged_conversion_ops.to_tensor(rt_s), dt_s)
Dragged_conversion_ops.py48 def to_tensor(rt_input, default_value=None, name=None): function
50 return rt_input.to_tensor(default_value, name)
57 return rt_input.to_tensor(default_value=default_value, shape=shape)
Dragged_string_ops.py742 to_tensor = False
745 to_tensor = True
766 dense_shape) if to_tensor else output
797 dense_shape) if to_tensor else output
Dragged_gather_ops.py207 result = ragged_tensor.RaggedTensor.to_tensor(result)
/external/tensorflow/tensorflow/core/common_runtime/
Dcollective_rma_local.cc32 const AllocatorAttributes& to_alloc_attr, Tensor* to_tensor, in RecvFromPeer() argument
51 auto consumer_callback = [to_tensor, to_device_ctx, to_device, to_alloc_attr, in RecvFromPeer()
68 int64 recv_bytes = to_tensor->TotalBytes(); in RecvFromPeer()
77 to_tensor, // dst Tensor* in RecvFromPeer()
Dbase_collective_executor.h125 const AllocatorAttributes& to_alloc_attr, Tensor* to_tensor, in RecvFromPeer() argument
130 to_alloc_attr, to_tensor, client_locality, stream_index, done); in RecvFromPeer()
Dgraph_execution_state.cc569 tensor_connection.to_tensor(), "\"."); in PruneGraph()
574 tensor_connection.to_tensor(), in PruneGraph()
579 &tensor_connection.to_tensor(), {from_node, from_id.second})); in PruneGraph()
684 TensorId id = ParseTensorName(tensor_connection.to_tensor()); in OptimizeGraph()
687 tensor_connection.to_tensor()); in OptimizeGraph()
Dcollective_rma_local.h46 const AllocatorAttributes& to_alloc_attr, Tensor* to_tensor,
Dtest_collective_executor_mgr.h34 const AllocatorAttributes& to_alloc_attr, Tensor* to_tensor, in RecvFromPeer() argument
Dring_gatherer_test.cc72 const AllocatorAttributes& to_alloc_attr, Tensor* to_tensor, in RecvFromPeer() argument
79 to_alloc_attr, to_tensor, client_locality, dev_to_dev_stream_index, in RecvFromPeer()
Dring_reducer_test.cc72 const AllocatorAttributes& to_alloc_attr, Tensor* to_tensor, in RecvFromPeer() argument
79 to_alloc_attr, to_tensor, client_locality, dev_to_dev_stream_index, in RecvFromPeer()
Dhierarchical_tree_broadcaster_test.cc168 const AllocatorAttributes& to_alloc_attr, Tensor* to_tensor, in RecvFromPeer() argument
174 to_alloc_attr, to_tensor, client_locality, stream_index, done); in RecvFromPeer()
/external/tensorflow/tensorflow/python/keras/layers/
Dpooling_test.py64 dense_data = ragged_data.to_tensor()
84 dense_data = ragged_data.to_tensor()
Dmerge_test.py244 dense_data = ragged_data.to_tensor()
251 out_ragged).to_tensor()
Dwrappers_test.py417 dense_data = ragged_data.to_tensor()
425 self.assertAllEqual(output_ragged.to_tensor(), output_dense)
449 dense_data = ragged_data.to_tensor()
454 self.assertAllEqual(output_ragged.to_tensor(), output_dense)
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dflat_map_test.py162 ragged_conversion_ops.to_tensor(x))
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.-ragged-tensor.pbtxt127 name: "to_tensor"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-ragged-tensor.pbtxt127 name: "to_tensor"
/external/tensorflow/tensorflow/core/framework/
Dcollective.h252 Tensor* to_tensor,
/external/tensorflow/tensorflow/python/kernel_tests/
Dunicode_decode_op_test.py226 input_tensor, "UTF-8").to_tensor(default_value=-1)
594 input_tensor, "UTF-8").to_tensor(default_value="")
/external/tensorflow/tensorflow/python/distribute/
Dinput_lib_test.py546 "dense": ragged_tensor.to_tensor(),
572 values.select_replica(i, per_replica_batch["ragged"]).to_tensor(),
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dfunction_optimizer.cc326 SafeTensorId to_tensor(func_node, to_idx); in AddTensorMapping() local
327 AddTensorMapping(from_tensor, to_tensor); in AddTensorMapping()

12