- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 89 for savevr (0.23 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/runtime/asm_mips64x.s
// g (R30) and REGTMP (R23) might be clobbered by load_g. They // are callee-save in the gcc calling convention, so save them. MOVV R23, savedR23-16(SP) MOVV g, savedG-8(SP) JAL runtimeĀ·load_g(SB) MOVV g_m(g), R1 MOVV m_curg(R1), R1 MOVV (g_stack+stack_hi)(R1), R2 // return value in R2 MOVV savedG-8(SP), g MOVV savedR23-16(SP), R23 RET // The top-most function running on a goroutine
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 19:45:59 UTC 2023 - 24.3K bytes - Viewed (0)