Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SliceDenseIntElementsAttrColumn2D (0.59 sec)

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

    //===----------------------------------------------------------------------===//
    // Pad op patterns.
    //===----------------------------------------------------------------------===//
    
    class SliceDenseIntElementsAttrColumn2D<string column> : NativeCodeCall<
      "SliceDenseIntElementsAttrColumn2D($0.cast<ElementsAttr>(), " # column # " )">;
    
    class SliceDenseIntElementsAttr<string index, string axis> : NativeCodeCall<
    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

    // Slices input attribute of rank two and returns the specified column.
    //
    // Always returns 64 bit integer attribute regardless of bitwidth of the input
    // attribute.
    static DenseIntElementsAttr SliceDenseIntElementsAttrColumn2D(
        ElementsAttr input, int column) {
      auto int_attr = mlir::cast<DenseIntElementsAttr>(input);
      auto shaped_type = int_attr.getType();
      auto shape = shaped_type.getShape();
    
    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