Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for savevr (0.22 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. src/cmd/link/internal/ppc64/asm.go

    	minReg := 14 // _savegpr0_{n}, _savegpr1_{n}, _savefpr_{n}, 14 <= n <= 31
    	offMul := 4  // 1 instruction per register op.
    	switch s[1] {
    	case "savegpr0", "savegpr1", "savefpr":
    	case "restgpr0", "restgpr1", "restfpr":
    	case "savevr", "restvr":
    		minReg = 20 // _savevr_{n} or _restvr_{n}, 20 <= n <= 31
    		offMul = 8  // 2 instructions per register op.
    	default:
    		return 0, false // Not an abi func
    	}
    	n, e := strconv.Atoi(s[2])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  3. cmd/metacache-server-pool.go

    	mc := o.newMetacache()
    	meta := metaCacheRPC{meta: &mc, cancel: cancel, rpc: globalNotificationSys.restClientFromHash(pathJoin(o.Bucket, o.Prefix)), o: *o}
    
    	// Save listing...
    	go func() {
    		if err := saver.saveMetaCacheStream(listCtx, &meta, saveCh); err != nil {
    			meta.setErr(err.Error())
    		}
    		cancel()
    	}()
    
    	// Do listing...
    	go func(o listPathOptions) {
    		err := z.listMerged(listCtx, o, inCh)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:23 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py

        init_op_name: Name of the node for initialization.
        saver_def: `saver_pb2.SaverDef` to create a `saver.Saver` from. The created
          saver will be used to save and load variables. This may be `None` if no
          variables exist in the graph.
        checkpoint_dir: Path to checkpoint file where variable values are saved.
        function_aliases: Function name -> function alias mapping.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset_test.py

      """Test cases for RepresentativeDatasetSaver."""
    
      def test_save_raises_error(self):
        saver = repr_dataset.RepresentativeDatasetSaver()
        repr_ds = {'serving_default': []}
    
        with self.assertRaisesRegex(
            NotImplementedError, 'Method "save" is not implemented.'
        ):
          saver.save(repr_ds)
    
    
    class TfRecordRepresentativeDatasetTest(test.TestCase):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 04 07:35:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. 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)
Back to top