Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CanBeTranslatedToDynamicSlice (0.55 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

    def UnpackStartingIndices: NativeCodeCall<
      "UnpackTensorAlongZeroDim($0.getLoc(), $1, &$_builder).getOutput()">;
    
    def CanBeTranslatedToDynamicSlice : Constraint<CPred<
      "CanBeTranslatedToDynamicSlice($0, $1, $2.cast<DenseIntElementsAttr>())">>;
    
    def TFSliceSizes2HLOSliceSizes : NativeCodeCall<
        "TFSliceSizes2HLOSliceSizes($0, $1, $2.cast<DenseIntElementsAttr>(),"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

    }
    
    //===----------------------------------------------------------------------===//
    // Slice op utilities.
    //===----------------------------------------------------------------------===//
    
    static bool CanBeTranslatedToDynamicSlice(Value input, Value start_indices,
                                              DenseIntElementsAttr slice_sizes) {
      auto input_ty = mlir::dyn_cast<RankedTensorType>(input.getType());
      if (!input_ty) return false;
    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