Home
last modified time | relevance | path

Searched refs:TF_NewTensor (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/python/lib/core/
Dndarray_tensor.cc443 *out_tensor = make_safe(TF_NewTensor(dtype, {}, 0, PyArray_DATA(array), in PyArrayToTF_Tensor()
449 *out_tensor = make_safe(TF_NewTensor(dtype, dims.data(), dims.size(), in PyArrayToTF_Tensor()
457 make_safe(TF_NewTensor(dtype, dims.data(), dims.size(), encoded, size, in PyArrayToTF_Tensor()
/external/tensorflow/tensorflow/c/
Dc_test_util.cc49 return TF_NewTensor(TF_BOOL, nullptr, 0, values, num_bytes, &BoolDeallocator, in BoolTensor()
85 return TF_NewTensor(TF_INT32, nullptr, 0, values, num_bytes, in Int32Tensor()
93 return TF_NewTensor(TF_DOUBLE, nullptr, 0, values, num_bytes, in DoubleTensor()
101 return TF_NewTensor(TF_FLOAT, nullptr, 0, values, num_bytes, in FloatTensor()
Dc_api_test.cc133 TF_Tensor* t = TF_NewTensor(TF_FLOAT, dims, 2, values, num_bytes, in TEST()
153 TF_NewTensor(TF_FLOAT, nullptr, 0, nullptr, 0, &NoOpDeallocator, nullptr); in TEST()
177 TF_Tensor* t = TF_NewTensor(TF_FLOAT, dims, 2, values, num_bytes, in TEST()
2291 unique_tensor_ptr t_in(TF_NewTensor(TF_STRING, nullptr, 0, &encoded[0], in TEST_F()
Dc_api.cc200 return TF_NewTensor(dtype, dims, num_dims, data, len, deallocate_buffer, in TF_AllocateTensor()
204 TF_Tensor* TF_NewTensor(TF_DataType dtype, const int64_t* dims, int num_dims, in TF_NewTensor() function
556 return TF_NewTensor( in EmptyTensor()
643 return TF_NewTensor(TF_STRING, in TF_TensorFromTensor()
Dc_api.h234 TF_CAPI_EXPORT extern TF_Tensor* TF_NewTensor(