Searched refs:TF_NewTensor (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/python/lib/core/ |
D | ndarray_tensor.cc | 443 *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/ |
D | c_test_util.cc | 49 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()
|
D | c_api_test.cc | 133 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()
|
D | c_api.cc | 200 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()
|
D | c_api.h | 234 TF_CAPI_EXPORT extern TF_Tensor* TF_NewTensor(
|