Home
last modified time | relevance | path

Searched refs:result_tensor (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_tensor_coding_test.cc48 Tensor result_tensor; in Validate() local
49 EXPECT_TRUE(result_tensor.FromProto(response.tensor())); in Validate()
50 EXPECT_EQ(t.dtype(), result_tensor.dtype()); in Validate()
51 EXPECT_EQ(t.shape().DebugString(), result_tensor.shape().DebugString()); in Validate()
52 EXPECT_EQ(t.DebugString(), result_tensor.DebugString()); in Validate()
/external/tensorflow/tensorflow/python/keras/engine/
Dbase_layer.py1410 result_tensor = value
1412 self._metrics_tensors[match.name] = result_tensor
1419 result_tensor = value
1420 metric_obj = result_tensor._metric_obj
1434 metric_obj, result_tensor = base_layer_utils.create_mean_metric(
1437 self._metrics_tensors[metric_obj.name] = result_tensor
Dtopology_test.py1235 result_tensor = network({
1239 result = self.evaluate(result_tensor)
1260 result_tensor = network(array_ops.ones((1, 1), 'float32'))
1261 result = self.evaluate(result_tensor)
1290 result_tensor = network(
1293 result = self.evaluate(result_tensor)
/external/tensorflow/tensorflow/python/kernel_tests/
Dcwise_ops_unary_test.py121 def _check(self, result_tensor, result_np, input_sp_t, tol): argument
122 self.assertTrue(isinstance(result_tensor, sparse_tensor.SparseTensor))
124 self.assertAllEqual(input_sp_t.indices, result_tensor.indices)
125 self.assertAllEqual(input_sp_t.dense_shape, result_tensor.dense_shape)
127 self.assertAllClose(result_np, result_tensor.values)
129 self.assertAllClose(result_np, result_tensor.values, rtol=tol, atol=tol)
Dsparse_ops_test.py776 def _check(self, result_tensor, result_np, input_sp_t): argument
777 self.assertTrue(isinstance(result_tensor, sparse_tensor.SparseTensor))
779 self.assertAllEqual(input_sp_t.indices, result_tensor.indices)
780 self.assertAllEqual(input_sp_t.dense_shape, result_tensor.dense_shape)
783 result_tensor.indices, result_tensor.dense_shape, result_tensor.values)
/external/tensorflow/tensorflow/python/client/
Dtf_session_helper.cc672 TF_Tensor* result_tensor; in TF_TryEvaluateConstant_wrapper() local
674 TF_TryEvaluateConstant(graph, output, &result_tensor, status); in TF_TryEvaluateConstant_wrapper()
677 Safe_TF_TensorPtr safe_result_tensor(result_tensor); in TF_TryEvaluateConstant_wrapper()
/external/tensorflow/tensorflow/contrib/labeled_tensor/python/ops/
Dcore.py1092 result_tensor = elementwise_function(labeled_tensor.tensor, name=scope)
1093 return LabeledTensor(result_tensor, labeled_tensor.axes)
/external/tensorflow/tensorflow/c/
Dc_api.cc2807 Tensor result_tensor; in TF_TryEvaluateConstant() local
2810 graph->graph.versions().producer(), &evaluated, &result_tensor); in TF_TryEvaluateConstant()
2813 *result = TF_TensorFromTensor(result_tensor, status); in TF_TryEvaluateConstant()