Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dsplit_op.cc46 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntScalar(0, &split_dim_orig)); in Compile()
109 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntScalar(2, &split_dim_orig)); in Compile()
Dconcat_op.cc54 ctx->ConstantInputAsIntScalar(axis_index_, &concat_dim)); in Compile()
162 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntScalar(0, &cdim)); in Compile()
Dtopk_op.cc35 OP_REQUIRES_OK(context, context->ConstantInputAsIntScalar(1, &k)); in Compile()
Done_hot_op.cc60 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntScalar(1, &depth)); in Compile()
Dindex_ops.cc46 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntScalar(1, &dim)); in Compile()
Dxla_conv_op.cc57 OP_REQUIRES_OK(context, context->ConstantInputAsIntScalar( in Compile()
Dscan_ops.cc60 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntScalar(1, &axis)); in Compile()
Dindex_ops_cpu.cc54 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntScalar(1, &dim)); in Compile()
Dsegment_reduction_ops.cc60 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntScalar(2, &num_segments)); in Compile()
Dtensor_list_ops.cc106 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntScalar(1, &num_elements)); in Compile()
138 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntScalar(1, &max_num_elements)); in Compile()
Dcategorical_op.cc45 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntScalar(1, &num_samples)); in Compile()
Dsequence_ops.cc141 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntScalar("num", &num)); in Compile()
Dstack_ops.cc100 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntScalar(0, &max_size)); in Compile()
Dgather_op.cc168 OP_REQUIRES_OK(context, context->ConstantInputAsIntScalar(2, &axis)); in Compile()
Dtensor_array_ops.cc150 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntScalar(0, &size)); in Compile()
Dimage_ops.cc434 OP_REQUIRES_OK(context, context->ConstantInputAsIntScalar(2, &output_size)); in Compile()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_op_kernel.h117 Status ConstantInputAsIntScalar(int index, int64* out);
118 Status ConstantInputAsIntScalar(absl::string_view name, int64* out);
Dxla_op_kernel.cc210 Status XlaOpKernelContext::ConstantInputAsIntScalar(int index, int64* out) { in ConstantInputAsIntScalar() function in tensorflow::XlaOpKernelContext
216 Status XlaOpKernelContext::ConstantInputAsIntScalar(absl::string_view name, in ConstantInputAsIntScalar() function in tensorflow::XlaOpKernelContext
219 return ConstantInputAsIntScalar(index, out); in ConstantInputAsIntScalar()