Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 131 for checkPrint (0.25 sec)

  1. src/cmd/vendor/golang.org/x/text/cases/fold.go

    	c := context{dst: dst, src: src, atEOF: atEOF}
    	for c.next() {
    		foldFull(&c)
    		c.checkpoint()
    	}
    	return c.ret()
    }
    
    func (t *caseFolder) Span(src []byte, atEOF bool) (n int, err error) {
    	c := context{src: src, atEOF: atEOF}
    	for c.next() && isFoldFull(&c) {
    		c.checkpoint()
    	}
    	return c.retSpan()
    }
    
    func makeFold(o options) transform.SpanningTransformer {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 935 bytes
    - Viewed (0)
  2. tensorflow/c/checkpoint_reader.h

    #include "tensorflow/core/util/tensor_bundle/tensor_bundle.h"
    #include "tensorflow/core/util/tensor_slice_reader.h"
    
    namespace tensorflow {
    namespace checkpoint {
    
    class TensorSliceReader;
    
    // A wrapper around BundleReader (for V2 checkpoints) and
    // checkpoint::TensorSliceReader (for V1), that is more easily SWIG wrapped for
    // other languages.
    //
    // The class currently only interacts with single-slice (i.e., non-partitioned)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. tensorflow/cc/experimental/libexport/load.cc

                      "directory path: " +
                          path);
      }
    
      // Load the trackable object graph for restoring checkpoint values
      const std::string variables_dir =
          tensorflow::io::JoinPath(path, tensorflow::kSavedModelVariablesDirectory);
      // TODO(b/228181641): revisit non-explicit-checkpoint-loading behavior when
      // MLAs come along
      if (Env::Default()->FileExists(variables_dir).ok()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 13 15:16:07 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  4. pkg/kubelet/checkpointmanager/testing/util.go

    limitations under the License.
    */
    
    package testing
    
    import (
    	"fmt"
    	"sync"
    )
    
    // MemStore is an implementation of CheckpointStore interface which stores checkpoint in memory.
    type MemStore struct {
    	mem map[string][]byte
    	sync.Mutex
    }
    
    // NewMemStore returns an instance of MemStore
    func NewMemStore() *MemStore {
    	return &MemStore{mem: make(map[string][]byte)}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 16 05:30:20 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/devicemanager/pod_devices.go

    	kubefeatures "k8s.io/kubernetes/pkg/features"
    	"k8s.io/kubernetes/pkg/kubelet/cm/devicemanager/checkpoint"
    	"k8s.io/kubernetes/pkg/kubelet/cm/util/cdi"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    )
    
    type deviceAllocateInfo struct {
    	// deviceIds contains device Ids allocated to this container for the given resourceName.
    	deviceIds checkpoint.DevicesPerNUMA
    	// allocResp contains cached rpc AllocateResponse.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/python/unfreeze_constants.cc

    #include "tsl/platform/errors.h"
    #include "tsl/platform/status.h"
    #include "tsl/platform/statusor.h"
    
    namespace tensorflow {
    namespace quantization {
    
    // Unfreezes constants into variables and saves them to a checkpoint files under
    // `checkpoint_dir`. `checkpoint_dir` will be created within this function. It
    // will return a non-OK status if it already exists or permission is denied.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 11:07:03 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/dra/claiminfo.go

    }
    
    // newClaimInfoCache creates a new claim info cache object, pre-populated from a checkpoint (if present).
    func newClaimInfoCache(stateDir, checkpointName string) (*claimInfoCache, error) {
    	stateImpl, err := state.NewCheckpointState(stateDir, checkpointName)
    	if err != nil {
    		return nil, fmt.Errorf("could not initialize checkpoint manager, please drain node and remove dra state file, err: %+v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/dra/claiminfo_test.go

    			stateDir:       t.TempDir(),
    			checkpointName: "test-checkpoint",
    		},
    		{
    			description: "empty parameters",
    			wantErr:     true,
    		},
    		{
    			description: "empty checkpoint name",
    			stateDir:    t.TempDir(),
    			wantErr:     true,
    		},
    		{
    			description: "incorrect checkpoint name",
    			stateDir:    path.Join(t.TempDir(), "incorrect checkpoint"),
    			wantErr:     true,
    		},
    	} {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 21K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/fuse_branchredirect.go

    			}
    			pbranch := positive
    			if pk.i == 1 {
    				pbranch = negative
    			}
    			ft.checkpoint()
    			// Assume branch p->b is taken.
    			addBranchRestrictions(ft, p, pbranch)
    			// Check if any outgoing branch is unreachable based on the above condition.
    			parent := b
    			for j, bbranch := range [...]branch{positive, negative} {
    				ft.checkpoint()
    				// Try to update relationship b->child, and check if the contradiction occurs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 21:40:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/devicemanager/manager_test.go

    	as.Equal(len(expectedDevs), len(devInstances))
    	for _, deviceID := range expectedDevs {
    		_, ok := devInstances[deviceID]
    		as.True(ok)
    	}
    }
    
    func constructDevices(devices []string) checkpoint.DevicesPerNUMA {
    	ret := checkpoint.DevicesPerNUMA{}
    	for _, dev := range devices {
    		ret[0] = append(ret[0], dev)
    	}
    	return ret
    }
    
    // containerAllocateResponseBuilder is a helper to build a ContainerAllocateResponse
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
Back to top