Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for set_dimension (0.47 sec)

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

        RankedTensorType index_type = tensorflow::GetTypeFromTFTensorShape(
            input_type.getShape(), index_element_type);
    
        std::optional<int64_t> optional_axis =
            GetIntegerHLOAxisFromTFAxis(op.getDimension(), input_type.getRank());
        if (!optional_axis.has_value())
          return rewriter.notifyMatchFailure(op, "required axis");
        int64_t axis = optional_axis.value();
    
        IntegerAttr iota_dimension =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top