Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dcategorical_op.cc74 DataTypeToPrimitiveType(input_type(0), &uniform_xla_type)); in Compile()
86 DataTypeToPrimitiveType(input_type(0), &uniform_xla_type)); in Compile()
92 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(input_type(0), &type)); in Compile()
112 DataTypeToPrimitiveType(output_type(0), &xla_output_type)); in Compile()
Dcast_op.cc39 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(src_dtype_, &src_type_)); in CastOp()
40 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(dst_dtype_, &dst_type_)); in CastOp()
110 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(src_dtype_, &src_type_)); in BitcastOp()
111 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(dst_dtype_, &dst_type_)); in BitcastOp()
Dreduction_ops_common.cc35 ctx, DataTypeToPrimitiveType(reduction_type_, &xla_reduction_type_)); in XlaReductionOp()
112 TF_CHECK_OK(DataTypeToPrimitiveType(reduction_type_, &type)); in Compile()
Dempty_op.cc35 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(dtype_, &type_)); in EmptyOp()
Dpooling_ops.cc71 ctx, DataTypeToPrimitiveType(reduction_type_, &xla_reduction_type_)); in PoolingOp()
354 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(input_type(2), &element_type)); in Compile()
447 ctx, DataTypeToPrimitiveType(reduction_type, &xla_reduction_type)); in Compile()
461 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(ctx->input_type(1), in Compile()
636 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(input_type(2), &element_type)); in Compile()
Dindex_ops.cc65 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(index_type, &index_xla_type)); in Compile()
Dbatch_norm_op.cc77 DataTypeToPrimitiveType(ctx->input_type(0), &input_type)); in CompileImpl()
80 DataTypeToPrimitiveType(ctx->input_type(1), &scale_type)); in CompileImpl()
Din_topk_op.cc38 DataTypeToPrimitiveType(targets_dtype_, &targets_type_)); in InTopKOp()
Dsort_ops.cc80 OP_REQUIRES_OK(context, DataTypeToPrimitiveType(input_types_[i], in Compile()
Dsegment_reduction_ops.cc32 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(dtype, &type_)); in UnsortedSegmentReduce()
Dextract_image_patches_op.cc95 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(ctx->input_type(0), &type)); in Compile()
Dquantize_and_dequantize_op.cc62 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(data_type, &xla_type)); in Compile()
Dstateful_random_ops.cc209 DataTypeToPrimitiveType(STATE_ELEMENT_DTYPE, &state_element_type)); in CompileImpl()
468 ctx, DataTypeToPrimitiveType(STATE_ELEMENT_DTYPE, &state_element_type)); in Compile()
Dtensor_list_ops.cc164 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(dtype_, &type)); in Compile()
236 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(dtype_, &type)); in Compile()
Dsoftmax_op.cc92 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(accumulation_type, in Compile()
Dimage_resize_ops.cc637 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(output_dtype, &output_type_)); in ResizeBilinearGradOp()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_context.cc91 TF_CHECK_OK(DataTypeToPrimitiveType(type, &xla_type)); in GetOrCreateMax()
107 TF_CHECK_OK(DataTypeToPrimitiveType(type, &xla_type)); in GetOrCreateMin()
123 TF_CHECK_OK(DataTypeToPrimitiveType(type, &xla_type)); in GetOrCreateAdd()
139 TF_CHECK_OK(DataTypeToPrimitiveType(type, &xla_type)); in GetOrCreateMul()
Dxla_helpers.cc37 TF_CHECK_OK(DataTypeToPrimitiveType(data_type, &type)); in Zero()
43 TF_CHECK_OK(DataTypeToPrimitiveType(data_type, &type)); in One()
50 TF_CHECK_OK(DataTypeToPrimitiveType(data_type, &type)); in IntegerLiteral()
57 TF_CHECK_OK(DataTypeToPrimitiveType(data_type, &type)); in FloatLiteral()
125 TF_CHECK_OK(DataTypeToPrimitiveType(new_element_type, &convert_to)); in ConvertElementType()
Dtype_util.h27 Status DataTypeToPrimitiveType(DataType data_type, xla::PrimitiveType* type);
Dshape_util.cc107 TF_RETURN_IF_ERROR(DataTypeToPrimitiveType(dtype, &type)); in TensorShapeToXLAShape()
148 TF_RETURN_IF_ERROR(DataTypeToPrimitiveType(dtype, &type)); in TensorShapeToXLAShape()
Dtype_util.cc24 Status DataTypeToPrimitiveType(DataType data_type, xla::PrimitiveType* type) { in DataTypeToPrimitiveType() function
Dliteral_util.cc96 DataTypeToPrimitiveType(host_tensor->dtype(), &primitive_type)); in CopyLiteralToHostTensor()
Dxla_op_kernel.cc112 Status status = DataTypeToPrimitiveType(input_type(index), &type); in input_xla_type()
122 Status status = DataTypeToPrimitiveType(InputType(name), &type); in InputXlaType()
580 Status status = DataTypeToPrimitiveType(expected_output_dtype(index), &type); in output_xla_type()
Dxla_compiler_test.cc1277 TF_RETURN_IF_ERROR(DataTypeToPrimitiveType(type, &ptype)); in TEST_F()
1348 TF_RETURN_IF_ERROR(DataTypeToPrimitiveType(type, &ptype)); in TEST_F()
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dxrt_state_ops.h582 TF_RETURN_IF_ERROR(DataTypeToPrimitiveType( in Compute()