Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/c/
Dtf_tensor.h88 TF_CAPI_EXPORT extern TF_Tensor* TF_NewTensor(
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()
Dtf_tensor.cc100 TF_Tensor* TF_NewTensor(TF_DataType dtype, const int64_t* dims, int num_dims, in TF_NewTensor() function
251 return TF_NewTensor( in EmptyTensor()
Dc_api_test.cc136 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()
Dc_api.cc404 return TF_NewTensor( in EmptyTensor()
/external/tensorflow/tensorflow/cc/experimental/base/public/
Dtensor.h161 TF_Tensor* tensor = TF_NewTensor(dtype, shape.data(), shape.size(), data, len, in FromBuffer()
/external/tensorflow/tensorflow/python/lib/core/
Dndarray_tensor.cc506 *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/
Dparallel_device_testlib.cc137 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()
Dparallel_device_lib.h229 TF_NewTensor( in ScalarsFromSequence()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcontext.cc176 TF_NewTensor(static_cast<TF_DataType>(dtype), dims, num_dims, data, len, in CreateTensor()