Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for savevr (0.14 sec)

  1. src/cmd/go/testdata/savedir.go

    // license that can be found in the LICENSE file.
    
    //go:build ignore
    // +build ignore
    
    // Savedir archives a directory tree as a txtar archive printed to standard output.
    //
    // Usage:
    //
    //	go run savedir.go /path/to/dir >saved.txt
    //
    // Typically the tree is later extracted during a test with tg.extract("testdata/saved.txt").
    package main
    
    import (
    	"cmd/go/internal/str"
    	"flag"
    	"fmt"
    	"internal/txtar"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 30 19:41:54 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_save_op.mlir

    // CHECK: "tf.SaveV2"(%[[ARG]], %[[CONST_0]], %[[CONST_1]], %[[READ_VARIABLE_0]], %[[READ_VARIABLE_1]])
    // CHECK: return
    }
    
    // -----
    
    
    // SaveV2 op not created when SessionInitializerOp doesn't exist.
    
    module attributes {tf_saved_model.semantics} {
    // CHECK-NOT: @tf_quant__save
    }
    
    // -----
    
    // SaveV2 op not created when there are no VarHandleOp in the session
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/aot/tests/make_test_graphs.py

      init_op = variables.global_variables_initializer()
      saver = saver_lib.Saver(write_version=saver_pb2.SaverDef.V1)
      with session.Session() as sess:
        sess.run(init_op)
        sess.run(y.assign(y + 42))
        # Without the checkpoint, the variable won't be set to 42.
        ckpt = os.path.join(out_dir, 'test_graph_tfadd_with_ckpt.ckpt')
        saver.save(sess, ckpt)
    
    
    def tfadd_with_ckpt_saver(out_dir):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 15 15:25:23 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_save_op.cc

        return "Inserts a new function that wraps a SaveV2 op. The SaveV2 op saves "
               "the values of the VarHandleOps that are found in the initializer "
               "function of 'restore_op' type.";
      }
    
      void runOnOperation() override;
    };
    
    // Finds `tf.AssignVariableOp(tf.VarHandleOp, tf.Const)` patterns and removes
    // `tf.AssignVariableOp`s and `tf.Const`s. Collects and returns the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_save_function_ops_to_main.mlir

    // CHECK: %[[CTL_0:.*]] = tf_executor.island wraps "tf.SaveV2"(%[[ARG_0]], %[[CST_0]], %[[CST_1]], %[[READ_VARIABLE]]) : (tensor<!tf_type.string>, tensor<1x!tf_type.string>, tensor<1x!tf_type.string>, tensor<2xf32>) -> ()
    
    // Test that the Identity op has been created to fetch the file prefix
    // argument. It should also have control dependency to the `SaveV2` op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/ops/io_ops.cc

      return op_ptr->Execute(tensors, &num_retvals);
    }
    
    // Op: SaveV2()
    // Summary: Saves tensors in V2 checkpoint format.
    //
    // Description:
    //   By default, saves the named tensors in full.  If the caller wishes to save
    //   specific slices of full tensors, "shape_and_slices" should be non-empty
    //   strings and correspondingly well-formed.
    Status SaveV2(AbstractContext* ctx, AbstractTensorHandle* const prefix,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 17 17:54:34 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  7. src/embed/internal/embedtest/testdata/.hidden/.more/tip.txt

    #define struct union /* Great space saver */...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 04 13:50:44 UTC 2020
    - 45 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/string-attr.pbtxt

    # RUN: tf-mlir-translate -graphdef-to-splatted-mlir %s -o - | FileCheck %s
    
    # CHECK: tf.Const
    # CHECK-SAME: value = dense<""> : tensor<3x!tf_type.string>
    
    node {
      name: "save/SaveV2/shape_and_slices"
      op: "Const"
      attr {
        key: "_output_shapes"
        value {
          list {
            shape {
              dim {
                size: 3
              }
            }
          }
        }
      }
      attr {
        key: "dtype"
        value {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 29 04:41:05 UTC 2021
    - 713 bytes
    - Viewed (0)
  9. src/embed/internal/embedtest/testdata/.hidden/_more/tip.txt

    #define struct union /* Great space saver */...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 04 13:50:44 UTC 2020
    - 45 bytes
    - Viewed (0)
  10. src/embed/internal/embedtest/testdata/.hidden/more/tip.txt

    #define struct union /* Great space saver */...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 04 13:50:44 UTC 2020
    - 45 bytes
    - Viewed (0)
Back to top