Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
H A 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()
H A Dpooling_ops.cc102 auto status = ctx->ConstantInputAsIntVector(1, &ksize); in GetKernelSize()
126 auto status = ctx->ConstantInputAsIntVector(2, &stride); in GetStride()
344 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(3, &ksize_)); in Compile()
351 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(4, &stride_)); in Compile()
568 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(3, &ksize_)); in Compile()
575 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(4, &stride_)); in Compile()
H A 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()
H A Dbcast_ops.cc49 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector( in Compile()
105 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector( in Compile()
H A Dtranspose_op.cc57 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector("perm", &perm)); in Compile()
164 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(0, &perm)); in InvertPermutation()
H A Dconcat_op.cc159 ctx->ConstantInputAsIntVector( in Compile()
180 ctx, ctx->ConstantInputAsIntVector( in Compile()
H A Dslice_op.cc63 ctx->ConstantInputAsIntVector(1, &begin).ok(); in Compile()
65 ctx->ConstantInputAsIntVector(2, &size).ok(); in Compile()
H A Dtensor_array_ops.cc317 Status status = ctx->ConstantInputAsIntVector(1, &const_indices); in Compile()
388 Status status = ctx->ConstantInputAsIntVector(1, &const_indices); in Compile()
491 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(2, &lengths)); in Compile()
H A Dempty_op.cc50 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector("shape", &shape)); in Compile()
H A Dfill_op.cc50 ctx->ConstantInputAsIntVector( in Compile()
H A Dgather_scatter_ops.cc40 ctx->ConstantInputAsIntVector("slice_sizes", &slice_sizes)); in Compile()
H A Dtile_ops.cc68 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector( in Compile()
H A Dreverse_op.cc93 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(1, &axes)); in Compile()
H A Dxla_broadcast_helper_op.cc46 OP_REQUIRES_OK(context, context->ConstantInputAsIntVector("broadcast_dims", in Compile()
H A Dtensor_list_ops.cc57 TF_RETURN_IF_ERROR(ctx->ConstantInputAsIntVector(0, &dynamic_sizes)); in GetTensorListDynamicDims()
548 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(2, &lengths)); in Compile()
H A Dfft_ops.cc56 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(1, &fft_length)); in Compile()
H A Dreshape_op.cc50 ctx->ConstantInputAsIntVector( in Compile()
H A Dsplit_op.cc148 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(1, &split_sizes)); in Compile()
H A Dbatchtospace_op.cc152 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(1, &block_shape)); in Compile()
H A Dspacetobatch_op.cc168 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(1, &block_shape)); in Compile()
H A Dunique_op.cc268 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(1, &axises)); in Compile()
H A Dmatrix_diag_ops.cc71 context->ConstantInputAsIntVector("k", &diag_index)); in ProcessDiagIndex()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/tf2xla/
H A Dxla_op_kernel.h171 Status ConstantInputAsIntVector(
174 Status ConstantInputAsIntVector(
H A Dxla_op_kernel.cc376 Status XlaOpKernelContext::ConstantInputAsIntVector( in ConstantInputAsIntVector() function in tensorflow::XlaOpKernelContext
383 Status XlaOpKernelContext::ConstantInputAsIntVector( in ConstantInputAsIntVector() function in tensorflow::XlaOpKernelContext
387 return ConstantInputAsIntVector(index, out, mode); in ConstantInputAsIntVector()
/aosp_15_r20/external/tensorflow/tensorflow/core/tpu/kernels/
H A Dimage_resize_ops.cc41 auto status = ctx->ConstantInputAsIntVector(1, &out_size); in GetOutputShape()

12