Home
last modified time | relevance | path

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

12

/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_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()
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()
Dfill_op.cc48 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector("dims", &dims)); in Compile()
53 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector("dims", &dynamic_dims)); in Compile()
Dtile_ops.cc66 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector("multiples", &multiples)); in Compile()
85 ctx, ctx->ConstantInputAsIntVector("multiples", &dynamic_multiples)); in Compile()
Dslice_op.cc61 ctx->ConstantInputAsIntVector(1, &begin).ok(); in Compile()
62 const bool size_is_constant = ctx->ConstantInputAsIntVector(2, &size).ok(); in Compile()
106 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(2, &dynamic_size)); 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()
Dbcast_ops.cc49 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(i, &shape)); in Compile()
98 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(i, &vec)); 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()
Dtranspose_op.cc57 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector("perm", &perm)); in Compile()
163 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(0, &perm)); in InvertPermutation()
Dpooling_ops.cc94 auto status = ctx->ConstantInputAsIntVector(1, &ksize); in GetKernelSize()
118 auto status = ctx->ConstantInputAsIntVector(2, &stride); in GetStride()
296 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(3, &ksize_)); in Compile()
303 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(4, &stride_)); in Compile()
516 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(3, &ksize_)); in Compile()
523 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(4, &stride_)); 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()
Dempty_op.cc50 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector("shape", &shape)); in Compile()
Dgather_scatter_ops.cc40 ctx->ConstantInputAsIntVector("slice_sizes", &slice_sizes)); 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()
Ddynamic_slice_ops.cc110 ctx, ctx->ConstantInputAsIntVector("size_indices", &size_indices)); 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()
Dreshape_op.cc48 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(1, &shape_input)); in Compile()
Dfft_ops.cc55 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(1, &fft_length)); in Compile()
Dbatchtospace_op.cc152 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(1, &block_shape)); in Compile()
Dsplit_op.cc147 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(1, &split_sizes)); in Compile()
Dspacetobatch_op.cc154 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(1, &block_shape)); in Compile()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_op_kernel.h139 Status ConstantInputAsIntVector(int index, std::vector<int64>* out);
140 Status ConstantInputAsIntVector(absl::string_view name,
/external/tensorflow/tensorflow/core/tpu/kernels/
Dimage_resize_ops.cc41 auto status = ctx->ConstantInputAsIntVector(1, &out_size); in GetOutputShape()

12