Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dreduce_window_op.cc45 OP_REQUIRES_OK(context, context->ConstantInputAsIntVector( in Compile()
47 OP_REQUIRES_OK(context, context->ConstantInputAsIntVector("window_strides", in Compile()
49 OP_REQUIRES_OK(context, context->ConstantInputAsIntVector("base_dilations", in Compile()
51 OP_REQUIRES_OK(context, context->ConstantInputAsIntVector( in Compile()
Dxla_conv_op.cc51 OP_REQUIRES_OK(context, context->ConstantInputAsIntVector("window_strides", in Compile()
53 OP_REQUIRES_OK(context, context->ConstantInputAsIntVector("lhs_dilation", in Compile()
55 OP_REQUIRES_OK(context, context->ConstantInputAsIntVector("rhs_dilation", in Compile()
Dxla_pad_op.cc40 OP_REQUIRES_OK(context, context->ConstantInputAsIntVector("padding_low", in Compile()
42 OP_REQUIRES_OK(context, context->ConstantInputAsIntVector("padding_high", in Compile()
44 OP_REQUIRES_OK(context, context->ConstantInputAsIntVector( in Compile()
Dlistdiff_op.cc74 TF_RETURN_IF_ERROR(context->ConstantInputAsIntVector(0, &x_input)); in ListDiff()
75 TF_RETURN_IF_ERROR(context->ConstantInputAsIntVector(1, &y_input)); in ListDiff()
Dslice_op.cc60 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(2, &size)); in Compile()
61 if (ctx->ConstantInputAsIntVector(1, &begin).ok()) { in Compile()
Dpooling_ops.cc92 auto status = ctx->ConstantInputAsIntVector(1, &ksize); in GetKernelSize()
116 auto status = ctx->ConstantInputAsIntVector(2, &stride); in GetStride()
289 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(3, &ksize_)); in Compile()
296 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(4, &stride_)); in Compile()
496 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(3, &ksize_)); in Compile()
503 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(4, &stride_)); in Compile()
Dbcast_ops.cc49 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(i, &shape)); in Compile()
98 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(i, &vec)); in Compile()
Dtranspose_op.cc56 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector("perm", &perm)); in Compile()
141 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(0, &perm)); in Compile()
Dxla_select_and_scatter_op.cc44 OP_REQUIRES_OK(context, context->ConstantInputAsIntVector( in Compile()
46 OP_REQUIRES_OK(context, context->ConstantInputAsIntVector("window_strides", in Compile()
Dconcat_op.cc158 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(1, &inp0_dims)); in Compile()
177 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(1 + i, &inp_dims)); in Compile()
Dfill_op.cc48 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector("dims", &dims)); in Compile()
Dempty_op.cc50 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector("shape", &shape)); in Compile()
Dreshape_op.cc46 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(1, &shape_input)); in Compile()
Ddynamic_slice_ops.cc98 ctx, ctx->ConstantInputAsIntVector("size_indices", &size_indices)); in Compile()
Dtile_ops.cc66 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector("multiples", &multiples)); in Compile()
Dreverse_op.cc93 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(1, &axes)); in Compile()
Dxla_broadcast_helper_op.cc46 OP_REQUIRES_OK(context, context->ConstantInputAsIntVector("broadcast_dims", in Compile()
Dtensor_array_ops.cc316 Status status = ctx->ConstantInputAsIntVector(1, &const_indices); in Compile()
387 Status status = ctx->ConstantInputAsIntVector(1, &const_indices); in Compile()
490 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(2, &lengths)); in Compile()
Dfft_ops.cc55 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(1, &fft_length)); in Compile()
Dsplit_op.cc143 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(1, &split_sizes)); in Compile()
Dbatchtospace_op.cc152 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(1, &block_shape)); in Compile()
Dspacetobatch_op.cc154 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(1, &block_shape)); in Compile()
Dimage_resize_ops.cc467 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(1, &out_size)); in GeneralCompile()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_op_kernel.h124 Status ConstantInputAsIntVector(int index, std::vector<int64>* out);
125 Status ConstantInputAsIntVector(absl::string_view name,
Dxla_op_kernel.cc250 Status XlaOpKernelContext::ConstantInputAsIntVector(int index, in ConstantInputAsIntVector() function in tensorflow::XlaOpKernelContext
257 Status XlaOpKernelContext::ConstantInputAsIntVector(absl::string_view name, in ConstantInputAsIntVector() function in tensorflow::XlaOpKernelContext
260 return ConstantInputAsIntVector(index, out); in ConstantInputAsIntVector()