Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for input_rank (0.15 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

            dims_to_reverse;
        int64_t input_rank = input_ty.getRank();
        ArrayRef<int64_t> input_shape = input_ty.getShape();
        hlo_begin_indices.reserve(input_rank);
        hlo_end_indices.reserve(input_rank);
        hlo_strides.reserve(input_rank);
    
        int64_t indices_elements = begin_indices.size();
        if (input_rank < indices_elements) return failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        // Subtract `input_rank` by 1 to get the item's rank, which is used as
        // `partial_position_shape`.
        auto input_rank = rewriter->create<TF::RankOp>(
            loc, tensorflow::GetTypeFromTFTensorShape({}, shape_dtype), input);
        auto partial_position_shape = rewriter->create<TF::SubOp>(
            loc, tensorflow::GetTypeFromTFTensorShape({1}, shape_dtype), input_rank,
            vector_one);
        auto slice_op =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
Back to top