Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for tf_quant__save (0.17 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_save_op.mlir

    // CHECK: func.func @init_func_restore_op
    // CHECK-NOT: @tf_quant__save
    }
    
    // -----
    
    // SaveV2 op not created when the initializer function doesn't exist.
    
    module attributes {tf_saved_model.semantics} {
      "tf_saved_model.session_initializer"() {initializers = []} : () -> ()
    // Test that the function for SaveV2 op is not created.
    // CHECK-NOT: @tf_quant__save
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_save_function_ops_to_main.mlir

        tf_executor.graph {
          tf_executor.fetch
        }
        return
      }
    }
    // Save function should be erased.
    // CHECK-NOT: @tf_quant__save
    
    // Test that the contents of @tf_quant__save are copied to @main.
    // CHECK: func.func @main
    // CHECK-SAME: %[[ARG_0:.*]]: tensor<!tf_type.string> {tf_saved_model.index_path = ["__tf_file_prefix"]}
    // CHECK: tf_executor.graph
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/constants.h

    namespace mlir {
    namespace quant {
    
    // Name of the save function. The "tf_quant__" prefix is for avoiding conflict
    // with existing function's name.
    inline constexpr StringRef kTfQuantSaveFuncName = "tf_quant__save";
    
    // Name of the TensorFlow Operation to be fetched to save the variables to
    // checkpoint. This save op follows the SavedModel's load semantics, so it
    // should return the file prefix of the checkpoint as a string tensor.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 13 02:55:06 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/passes.h

    // reused if it already exist in @main. Otherwise a new file prefix argument
    // will be created. @tf_quant__save function will be erased.
    //
    // Running this pass essentially has the effect of inlining the @tf_quant__save
    // into the main graph. This is beneficial when we wish to find and fetch
    // the node that saves the variables, after the ModuleOp has been exported as
    // GraphDef.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_save_op.cc

    constexpr StringRef kTfQuantSaveReturnOpName = "tf_quant__save_return";
    
    // A pass that creates a new function that wraps the newly created SaveV2 op.
    // The new function's name is "tf_quant__save". The function accepts a single
    // string tensor as argument, which specifies the path to the checkpoint to
    // which the variable's tensor values are saved. It finds
    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