Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CreateShapeAndSlicesConst (0.66 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_restore_op.cc

    // Creates a 1D string array constant for "shape_and_slices" input of
    // `RestoreV2` op. The `ConstOp` will be created at `builder`'s current
    // insertion point. It will be filled with `size` empty strings.
    TF::ConstOp CreateShapeAndSlicesConst(const int size, OpBuilder& builder) {
      const SmallVector<std::string> shape_and_slices_values(size, /*Value=*/"");
    
      const auto loc = NameLoc::get(builder.getStringAttr("shape_and_slices"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 12 06:02:20 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_save_op.cc

    // Creates a 1D string array constant for "shape_and_slices" input of
    // `RestoreV2` op. The `ConstOp` will be created at `builder`'s current
    // insertion point. It will be filled with `size` empty strings.
    TF::ConstOp CreateShapeAndSlicesConst(const int size, OpBuilder& builder) {
      const SmallVector<std::string> shape_and_slices_values(size, /*Value=*/"");
    
      const auto loc = NameLoc::get(builder.getStringAttr("shape_and_slices"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top