Home
last modified time | relevance | path

Searched refs:TF_INT32 (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/flex/
Dutil.cc68 return TF_INT32; in GetTensorFlowDataType()
92 case TF_INT32: in GetTensorFlowLiteType()
Dutil_test.cc113 EXPECT_EQ(TF_INT32, GetTensorFlowDataType(kTfLiteInt32)); in TEST()
124 EXPECT_EQ(kTfLiteInt32, GetTensorFlowLiteType(TF_INT32)); in TEST()
/external/tensorflow/tensorflow/c/eager/
Dc_api_experimental_test.cc303 TF_SetAttrType(arg_descr, "dtype", TF_INT32); in TEST()
309 TF_SetAttrType(id_descr, "T", TF_INT32); in TEST()
335 TF_AllocateTensor(TF_INT32, nullptr, 0, 1 * sizeof(tensorflow::int32)); in TEST()
379 TF_SetAttrType(arg_descr, "dtype", TF_INT32); in TEST()
385 TF_SetAttrType(id_descr, "T", TF_INT32); in TEST()
411 TF_AllocateTensor(TF_INT32, nullptr, 0, 1 * sizeof(tensorflow::int32)); in TEST()
Dc_api_test_util.cc38 TF_Tensor* t = TF_AllocateTensor(TF_INT32, nullptr, 0, sizeof(int)); in TestScalarTensorHandle()
179 TF_INT32, &dims[0], sizeof(dims) / sizeof(int64_t), sizeof(data)); in TestAxisTensorHandle()
200 TFE_OpSetAttrType(op, "Tidx", TF_INT32); in MinOp()
/external/tensorflow/tensorflow/c/
Dtf_datatype.h50 TF_INT32 = 3, // Int32 tensors are always in 'host' memory. enumerator
Dc_api_experimental_test.cc328 TFE_OpSetAttrType(reshape_op, "Tshape", TF_INT32); in TEST_F()
339 TFE_OpSetAttrType(fill_op, "Tshape", TF_INT32); in TEST_F()
Dc_test_util.cc71 TF_AllocateTensor(TF_INT32, dims, num_dims, sizeof(int32_t) * num_values); in Int32Tensor()
85 return TF_NewTensor(TF_INT32, nullptr, 0, values, num_bytes, in Int32Tensor()
294 TF_SetAttrType(desc, "T", TF_INT32); in Split3Helper()
Dc_test_util.h54 TF_DataType dtype = TF_INT32,
Dc_api_function_test.cc105 EXPECT_EQ(TF_INT32, TF_TensorType(out)); in RunT()
128 EXPECT_EQ(TF_INT32, TF_TensorType(out)); in Run()
1284 TF_SetAttrType(desc, "dtype", TF_INT32); in NodeWithAttrHelper()
1733 TF_DataType inputType = TF_INT32; in TEST_F()
1754 EXPECT_EQ(TF_INT32, TF_TensorType(out)); in TEST_F()
Dc_api_test.cc295 EXPECT_EQ(TF_INT32, static_cast<TF_DataType>(tensorflow::DT_INT32)); in TEST()
469 EXPECT_EQ(TF_INT32, TF_OperationOutputType(TF_Output{feed, 0})); in TEST()
502 EXPECT_EQ(TF_INT32, TF_OperationOutputType(TF_Output{add, 0})); in TEST()
508 EXPECT_EQ(TF_INT32, TF_OperationInputType(TF_Input{add, 0})); in TEST()
509 EXPECT_EQ(TF_INT32, TF_OperationInputType(TF_Input{add, 1})); in TEST()
967 EXPECT_EQ(TF_INT32, TF_TensorType(out)); in TEST()
984 EXPECT_EQ(TF_INT32, TF_TensorType(out)); in TEST()
1028 EXPECT_EQ(TF_INT32, TF_TensorType(out)); in RunMinTest()
Dkernels_test.cc268 TF_KernelBuilder_TypeConstraint(builder, "T", TF_DataType::TF_INT32, status); in TEST()
Dwhile_loop_test.cc99 EXPECT_EQ(TF_INT32, TF_TensorType(out)); in ExpectOutputValue()
/external/tensorflow/tensorflow/java/src/main/native/
Dtensor_jni.cc51 case TF_INT32: in elemByteSize()
94 CASE(TF_INT32, jint, "intValue", "()I", Int); in writeScalar()
138 CASE(TF_INT32, jint, Int); in write1DArray()
173 CASE(TF_INT32, jint, Int); in read1DArray()
557 DEFINE_GET_SCALAR_METHOD(jint, TF_INT32, Int);
/external/tensorflow/tensorflow/python/lib/core/
Dndarray_tensor_bridge.cc122 case TF_INT32: in TF_DataType_to_PyArray_TYPE()
Dndarray_tensor.cc124 *out_tf_datatype = TF_INT32; in PyArray_TYPE_to_TF_DataType()
/external/tensorflow/tensorflow/go/
Dtensor.go41 Int32 DataType = C.TF_INT32
225 {reflect.TypeOf(int32(0)), C.TF_INT32},
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tensor.cc310 (TFE_TensorHandleDataType(handle.get()) != TF_INT32 || in ConvertToEagerTensorUncached()
1008 TF_INT32, &num_tensors_int, /*num_dims=*/1, /*len=*/4 * num_tensors_int)); in TFE_Py_TensorShapeSlice()
/external/tensorflow/tensorflow/python/client/
Dtf_session_wrapper.cc1161 .value("TF_INT32", TF_INT32) in PYBIND11_MODULE()