Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 131 for checkPrint (0.27 sec)

  1. tensorflow/cc/experimental/libtf/module.h

    //
    // Implementation steps:
    //
    //   1) For each function def in the SavedModel, register it with the runtime.
    //   2) For each object in the object graph def, build it.
    //   3) For each variable stored in the checkpoint in the SavedModel,
    //      restore it, and attach it to the associated variable object.
    //   4) For each polymorphic function, associate it with the appropriate
    //      concrete function(s).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 02 20:02:30 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/vendor/golang.org/x/text/cases/context.go

    // accordingly, if necessary.
    func (c *context) retSpan() (n int, err error) {
    	_, nSrc, err := c.ret()
    	return nSrc, err
    }
    
    // checkpoint sets the return value buffer points for Transform to the current
    // positions.
    func (c *context) checkpoint() {
    	if c.err == nil {
    		c.nDst, c.nSrc = c.pDst, c.pSrc+c.sz
    	}
    }
    
    // unreadRune causes the last rune read by next to be reread on the next
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. tensorflow/cc/saved_model/fingerprinting.cc

      absl::Status read_status =
          ReadFileToString(Env::Default(), meta_filename, &data);
      if (read_status.ok()) {
        return tensorflow::Fingerprint64(data);
      } else {
        LOG(WARNING) << "Failed to read checkpoint file: " << read_status;
        return 0;
      }
    }
    
    uint64_t HashSavedModel(const SavedModel& saved_model) {
      std::string saved_model_serialized;
      {
        // Local scope guarantees coded stream will be trimmed (ensures
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 26 00:24:44 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. tensorflow/cc/saved_model/bundle_v2.h

      /// SavedObjectGraph from the MetaGraphDef.
      const SavedObjectGraph& saved_object_graph() {
        return meta_graph_def().object_graph_def();
      }
    
      /// TrackableObjectGraph loaded from the variable_reader() checkpoint.
      TrackableObjectGraph& trackable_object_graph() {
        return trackable_object_graph_;
      }
    
      /// BundleReader for accessing the variables bundle.
      BundleReader* variable_reader() { return variable_reader_.get(); }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 20 03:32:59 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_save_op.cc

    // 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
    // `tf.AssignVariableOp(tf.VarHandleOp, tf.Const)` pattern in the initializer
    // function of type "restore_op" to identify the VarHandleOps that should be
    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. pkg/kubelet/server/auth.go

    	case isSubpath(requestPath, logsPath):
    		// "log" to match other log subresources (pods/log, etc)
    		attrs.Subresource = "log"
    	case isSubpath(requestPath, checkpointPath):
    		attrs.Subresource = "checkpoint"
    	}
    
    	klog.V(5).InfoS("Node request attributes", "user", attrs.GetUser().GetName(), "verb", attrs.GetVerb(), "resource", attrs.GetResource(), "subresource", attrs.GetSubresource())
    
    	return attrs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 18:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/devicemanager/pod_devices_test.go

    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/kubernetes/pkg/kubelet/cm/devicemanager/checkpoint"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    )
    
    func TestGetContainerDevices(t *testing.T) {
    	podDevices := newPodDevices()
    	resourceName1 := "domain1.com/resource1"
    	podID := "pod1"
    	contID := "con1"
    	devices := checkpoint.DevicesPerNUMA{0: []string{"dev1"}, 1: []string{"dev1"}}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export.cc

        saver_def.set_filename_tensor_name(filename_tensor_name);
        saver_def.set_restore_op_name(restore_op_name);
        // :0 attached to indicate the first result tensor. This saves the model
        // checkpoint when fetched.
        saver_def.set_save_tensor_name(absl::StrCat(save_node_name, ":0"));
        return saver_def;
      } else {
        return absl::InternalError(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/prove.go

    	return ft.orderS.OrderedOrEqual(ft.zero, v)
    }
    
    // checkpoint saves the current state of known relations.
    // Called when descending on a branch.
    func (ft *factsTable) checkpoint() {
    	if ft.unsat {
    		ft.unsatDepth++
    	}
    	ft.stack = append(ft.stack, checkpointFact)
    	ft.limitStack = append(ft.limitStack, checkpointBound)
    	ft.orderS.Checkpoint()
    	ft.orderU.Checkpoint()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
Back to top