Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 416 for savelr (0.1 sec)

  1. src/runtime/defs_plan9_386.go

    func (c *sigctxt) lr() uintptr { return uintptr(0) }
    
    func (c *sigctxt) setpc(x uintptr) { c.u.pc = uint32(x) }
    func (c *sigctxt) setsp(x uintptr) { c.u.sp = uint32(x) }
    func (c *sigctxt) setlr(x uintptr) {}
    
    func (c *sigctxt) savelr(x uintptr) {}
    
    func dumpregs(u *ureg) {
    	print("ax    ", hex(u.ax), "\n")
    	print("bx    ", hex(u.bx), "\n")
    	print("cx    ", hex(u.cx), "\n")
    	print("dx    ", hex(u.dx), "\n")
    	print("di    ", hex(u.di), "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 21 22:12:04 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  2. src/runtime/defs_plan9_arm.go

    func (c *sigctxt) setpc(x uintptr)  { c.u.pc = uint32(x) }
    func (c *sigctxt) setsp(x uintptr)  { c.u.sp = uint32(x) }
    func (c *sigctxt) setlr(x uintptr)  { c.u.link = uint32(x) }
    func (c *sigctxt) savelr(x uintptr) { c.u.r0 = uint32(x) }
    
    func dumpregs(u *ureg) {
    	print("r0    ", hex(u.r0), "\n")
    	print("r1    ", hex(u.r1), "\n")
    	print("r2    ", hex(u.r2), "\n")
    	print("r3    ", hex(u.r3), "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 11 12:56:15 UTC 2016
    - 1.7K bytes
    - Viewed (0)
  3. src/runtime/defs_plan9_amd64.go

    func (c *sigctxt) lr() uintptr { return uintptr(0) }
    
    func (c *sigctxt) setpc(x uintptr) { c.u.ip = uint64(x) }
    func (c *sigctxt) setsp(x uintptr) { c.u.sp = uint64(x) }
    func (c *sigctxt) setlr(x uintptr) {}
    
    func (c *sigctxt) savelr(x uintptr) {}
    
    func dumpregs(u *ureg) {
    	print("ax    ", hex(u.ax), "\n")
    	print("bx    ", hex(u.bx), "\n")
    	print("cx    ", hex(u.cx), "\n")
    	print("dx    ", hex(u.dx), "\n")
    	print("di    ", hex(u.di), "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 21 22:12:04 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  4. src/runtime/os3_plan9.go

    			pc = 0
    		}
    
    		// IF LR exists, sigpanictramp must save it to the stack
    		// before entry to sigpanic so that panics in leaf
    		// functions are correctly handled. This will smash
    		// the stack frame but we're not going back there
    		// anyway.
    		if usesLR {
    			c.savelr(c.lr())
    		}
    
    		// If PC == 0, probably panicked because of a call to a nil func.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. tensorflow/cc/experimental/libexport/save.cc

    limitations under the License.
    ==============================================================================*/
    #include "tensorflow/cc/experimental/libexport/save.h"
    
    #include "tensorflow/core/platform/env.h"
    
    namespace tensorflow {
    namespace libexport {
    
    Status Save(const std::string& export_dir) {
      TF_RETURN_IF_ERROR(Env::Default()->RecursivelyCreateDir(export_dir));
      return absl::OkStatus();
    }
    
    }  // namespace libexport
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 11:37:59 UTC 2024
    - 1014 bytes
    - Viewed (0)
  8. tensorflow/cc/experimental/libexport/save.h

    #include <string>
    
    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    namespace libexport {
    
    // Writes a saved model to disk.
    //
    // Writes a saved model to the given `export_dir`.
    TF_EXPORT Status Save(const std::string& export_dir);
    
    }  // namespace libexport
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 19 19:11:53 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top