Home
last modified time | relevance | path

Searched refs:DataTypeToPrimitiveType (Results 1 – 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_helpers.cc39 TF_CHECK_OK(DataTypeToPrimitiveType(data_type, &type)); in Zero()
45 TF_CHECK_OK(DataTypeToPrimitiveType(data_type, &type)); in One()
52 TF_CHECK_OK(DataTypeToPrimitiveType(data_type, &type)); in IntegerLiteral()
59 TF_CHECK_OK(DataTypeToPrimitiveType(data_type, &type)); in FloatLiteral()
120 TF_CHECK_OK(DataTypeToPrimitiveType(new_element_type, &convert_to)); in ConvertElementType()
Dxla_context.cc84 TF_CHECK_OK(DataTypeToPrimitiveType(type, &xla_type)); in GetOrCreateMax()
100 TF_CHECK_OK(DataTypeToPrimitiveType(type, &xla_type)); in GetOrCreateMin()
116 TF_CHECK_OK(DataTypeToPrimitiveType(type, &xla_type)); in GetOrCreateAdd()
132 TF_CHECK_OK(DataTypeToPrimitiveType(type, &xla_type)); in GetOrCreateMul()
Dtype_util.h26 Status DataTypeToPrimitiveType(DataType data_type, xla::PrimitiveType* type);
Dtype_util.cc23 Status DataTypeToPrimitiveType(DataType data_type, xla::PrimitiveType* type) { in DataTypeToPrimitiveType() function
Dliteral_util.cc85 DataTypeToPrimitiveType(host_tensor->dtype(), &primitive_type)); in CopyLiteralToHostTensor()
Dshape_util.cc105 TF_RETURN_IF_ERROR(DataTypeToPrimitiveType(dtype, &type)); in TensorShapeToXLAShape()
Dxla_op_kernel.cc105 Status status = DataTypeToPrimitiveType(input_type(index), &type); in input_xla_type()
473 Status status = DataTypeToPrimitiveType(expected_output_dtype(index), &type); in output_xla_type()
Dxla_compiler_test.cc1209 TF_RETURN_IF_ERROR(DataTypeToPrimitiveType(type, &ptype)); in TEST_F()
1279 TF_RETURN_IF_ERROR(DataTypeToPrimitiveType(type, &ptype)); in TEST_F()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dcast_op.cc34 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(src_dtype_, &src_type_)); in CastOp()
35 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(dst_dtype_, &dst_type_)); in CastOp()
105 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(src_dtype_, &src_type_)); in BitcastOp()
106 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(dst_dtype_, &dst_type_)); in BitcastOp()
Dcategorical_op.cc71 DataTypeToPrimitiveType(input_type(0), &uniform_xla_type)); in Compile()
83 DataTypeToPrimitiveType(input_type(0), &uniform_xla_type)); in Compile()
89 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(input_type(0), &type)); in Compile()
102 DataTypeToPrimitiveType(output_type(0), &xla_output_type)); in Compile()
Dreduction_ops_common.cc35 ctx, DataTypeToPrimitiveType(reduction_type_, &xla_reduction_type_)); in XlaReductionOp()
107 TF_CHECK_OK(DataTypeToPrimitiveType(reduction_type_, &type)); in Compile()
Dpooling_ops.cc69 ctx, DataTypeToPrimitiveType(reduction_type_, &xla_reduction_type_)); in PoolingOp()
333 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(input_type(2), &element_type)); in Compile()
426 ctx, DataTypeToPrimitiveType(reduction_type, &xla_reduction_type)); in Compile()
440 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(ctx->input_type(1), in Compile()
613 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(input_type(2), &element_type)); in Compile()
Dempty_op.cc35 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(dtype_, &type_)); in EmptyOp()
Dbatch_norm_op.cc45 DataTypeToPrimitiveType(ctx->input_type(0), &input_type)); in Compile()
48 DataTypeToPrimitiveType(ctx->input_type(1), &scale_type)); in Compile()
Dindex_ops.cc63 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(index_type, &index_xla_type)); in Compile()
Dindex_ops_cpu.cc71 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(dtype, &output_type)); in Compile()
Dsegment_reduction_ops.cc32 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(dtype, &type_)); in UnsortedSegmentReduce()
Dquantize_and_dequantize_op.cc57 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(data_type, &xla_type)); in Compile()
Dextract_image_patches_op.cc88 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(ctx->input_type(0), &type)); in Compile()
Dsoftmax_op.cc67 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(accumulation_type, in Compile()
Dstateful_random_ops.cc236 DataTypeToPrimitiveType(STATE_ELEMENT_DTYPE, &state_element_type)); in CompileImpl()
Dimage_resize_ops.cc601 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(output_dtype, &output_type_)); in ResizeBilinearGradOp()
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dxrt_state_ops.h557 TF_RETURN_IF_ERROR(DataTypeToPrimitiveType( in Compute()