Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,827 for ession (0.11 sec)

  1. tensorflow/compiler/aot/tests/make_test_graphs.py

      math_ops.add(x, y, name='x_y_sum')
    
      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)
    
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 15 15:25:23 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/gradients_test.cc

      // individual gradients.
      std::vector<Output> grad_outputs;
      TF_EXPECT_OK(AddSymbolicGradients(scope_test_, {y0, y2}, {x}, &grad_outputs));
      ClientSession session(scope_test_);
      std::vector<Tensor> grad_result;
      TF_EXPECT_OK(session.Run({{x, {3.0f}}}, grad_outputs, &grad_result));
      EXPECT_EQ(grad_result.size(), 1);
      EXPECT_EQ(grad_result[0].NumElements(), 1);
      EXPECT_EQ(grad_result[0].flat<float>()(0), 17502.0f);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 15 15:13:38 UTC 2023
    - 25K bytes
    - Viewed (0)
  3. tests/upsert_test.go

    	DB.Where(&User{Name: "find or create 3"}).Assign("age", 55).FirstOrCreate(&user4)
    
    	if user4.Age != 55 {
    		t.Errorf("Failed to set change to 55, got %v", user4.Age)
    	}
    
    	if updatedAt1.Format(time.RFC3339Nano) == user4.UpdatedAt.Format(time.RFC3339Nano) {
    		t.Errorf("UpdateAt should be changed when update values with assign")
    	}
    
    	DB.Where(&User{Name: "find or create 4"}).Assign(User{Age: 44}).FirstOrCreate(&user4)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Sep 05 07:39:19 UTC 2022
    - 11.4K bytes
    - Viewed (0)
  4. maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

                    .build()) {
                MavenSession mSession = new MavenSession(repoSession, request, new DefaultMavenExecutionResult());
                InternalSession iSession = new SimpleSession(mSession, repoSystem, null);
                InternalSession.associate(repoSession, iSession);
    
                List<RemoteRepository> repositories = RepositoryUtils.toRepos(request.getPluginArtifactRepositories());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jun 12 07:49:10 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. src/go/version/version.go

    // If v does not start with "go", stripGo returns the empty string (a known invalid version).
    func stripGo(v string) string {
    	v, _, _ = strings.Cut(v, "-") // strip -bigcorp suffix.
    	if len(v) < 2 || v[:2] != "go" {
    		return ""
    	}
    	return v[2:]
    }
    
    // Lang returns the Go language version for version x.
    // If x is not a valid version, Lang returns the empty string.
    // For example:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 19:56:48 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/version.go

    // Internal helper: returns normalized build version (with "v" prefix if needed)
    // If input doesn't match known version pattern, returns empty string.
    func normalizedBuildVersion(version string) string {
    	if kubeReleaseRegex.MatchString(version) {
    		if strings.HasPrefix(version, "v") {
    			return version
    		}
    		return "v" + version
    	}
    	return ""
    }
    
    // Internal helper: split version parts,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 10:50:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. cluster/images/etcd/migrate/testdata/datadir_with_version/version.txt

    Joe Betz <******@****.***> 1520669023 -0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 10 16:19:30 UTC 2018
    - 13 bytes
    - Viewed (0)
  8. pkg/version/version.go

    	buildArch        = "unknown"
    )
    
    // BuildInfo describes version information about the binary build.
    type BuildInfo struct {
    	Version       string `json:"version"`
    	GitRevision   string `json:"revision"`
    	GolangVersion string `json:"golang_version"`
    	BuildStatus   string `json:"status"`
    	GitTag        string `json:"tag"`
    }
    
    // ServerInfo contains the version for a single control plane component
    type ServerInfo struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 29 14:15:26 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. .go-version

    cpanato <******@****.***> 1717690383 +0200
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 6 bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/version/version.go

    func (v *Version) PreRelease() string {
    	return v.preRelease
    }
    
    // Components returns the version number components
    func (v *Version) Components() []uint {
    	return v.components
    }
    
    // WithMajor returns copy of the version object with requested major number
    func (v *Version) WithMajor(major uint) *Version {
    	result := *v
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 18 19:25:29 UTC 2023
    - 10.5K bytes
    - Viewed (0)
Back to top