Searched refs:TF_NewTensor (Results 1 – 10 of 10) sorted by relevance
/external/tensorflow/tensorflow/c/ |
D | tf_tensor.h | 88 TF_CAPI_EXPORT extern TF_Tensor* TF_NewTensor(
|
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 | tf_tensor.cc | 100 TF_Tensor* TF_NewTensor(TF_DataType dtype, const int64_t* dims, int num_dims, in TF_NewTensor() function 251 return TF_NewTensor( in EmptyTensor()
|
D | c_api_test.cc | 136 TF_Tensor* t = TF_NewTensor(TF_FLOAT, dims, 2, values, num_bytes, in TEST() 156 TF_NewTensor(TF_FLOAT, nullptr, 0, nullptr, 0, &NoOpDeallocator, nullptr); in TEST() 180 TF_Tensor* t = TF_NewTensor(TF_FLOAT, dims, 2, values, num_bytes, in TEST() 2330 unique_tensor_ptr t_in(TF_NewTensor(TF_STRING, nullptr, 0, &tstr[0], in TEST_F()
|
D | c_api.cc | 404 return TF_NewTensor( in EmptyTensor()
|
/external/tensorflow/tensorflow/cc/experimental/base/public/ |
D | tensor.h | 161 TF_Tensor* tensor = TF_NewTensor(dtype, shape.data(), shape.size(), data, len, in FromBuffer()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | ndarray_tensor.cc | 506 *ret = make_safe(TF_NewTensor(dtype, {}, 0, PyArray_DATA(array), size, in NdarrayToTensor() 518 *ret = make_safe(TF_NewTensor(dtype, dims.data(), dims.size(), in NdarrayToTensor() 536 *ret = make_safe(TF_NewTensor( in NdarrayToTensor()
|
/external/tensorflow/tensorflow/c/eager/parallel_device/ |
D | parallel_device_testlib.cc | 137 TF_NewTensor(TF_FLOAT, nullptr, 0, values, num_bytes, &FloatDeallocator, in FloatTensorHandle() 151 TF_NewTensor(TF_FLOAT, &dims, 1 /* num_dims */, values, num_bytes, in VectorFloatTensorHandle()
|
D | parallel_device_lib.h | 229 TF_NewTensor( in ScalarsFromSequence()
|
/external/tensorflow/tensorflow/core/common_runtime/eager/ |
D | context.cc | 176 TF_NewTensor(static_cast<TF_DataType>(dtype), dims, num_dims, data, len, in CreateTensor()
|