Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for shape_and_slices_values (0.46 sec)

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

    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"));
      return Create1DStringConst(shape_and_slices_values, loc, builder);
    }
    
    // Creates a `tf.RestoreV2Op` that loads the variable values from the checkpoint
    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

    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"));
      return Create1DStringConst(shape_and_slices_values, loc, builder);
    }
    
    // Returns cloned `VarHandleOp`s. Assumes `save_func`'s body is empty.
    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