Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for S_ (0.07 sec)

  1. tensorflow/c/while_loop_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      inner_params.cond_output = {inner_less_than, 0};
    
      // Create inner body graph
      TF_Operation* one = ScalarConst(1, inner_params.body_graph, s_, "one");
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      TF_Operation* two = ScalarConst(2, inner_params.body_graph, s_, "two");
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      TF_Operation* input2_add =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 06:05:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/legacy_test.go

    			name:        "invalid suffix",
    			logSymLink:  filepath.Join(legacyContainerLogsDir, fmt.Sprintf("%s_%s_%s-%s", podName, podNamespace, containerName, containerID)[:251]+".invalidsuffix"),
    			expected:    "",
    			shouldError: true,
    		},
    		{
    			name:        "container ID too short",
    			logSymLink:  filepath.Join(legacyContainerLogsDir, fmt.Sprintf("%s_%s_%s-%s", podName, podNamespace, containerName, containerID[:5])+".log"),
    			expected:    "",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 12:34:58 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_function_test.cc

      TF_Operation* c = Const(tensor_123, func_graph_, s_, "const_array");
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      TF_Operation* split = Split3(c, func_graph_, s_);
      TF_Operation* add = Add({split, 0}, {split, 2}, func_graph_, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      DefineT(-1, {}, {{split, 0}, {split, 2}}, {{add, 0}}, {}, true);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      auto oper = TF_FinishOperation(desc, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      EXPECT_TF_META("v", -1, TF_ATTR_SHAPE, 4);
      TF_Buffer* value = TF_NewBuffer();
      TF_OperationGetAttrTensorShapeProto(oper, "v", value, s_);
      EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_experimental_test.cc

      TF_GraphCopyFunction(func_graph_, func_, nullptr, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      EXPECT_EQ(TF_GraphNumFunctions(func_graph_), 1);
      EXPECT_EQ(TF_GraphGetFunctions(func_graph_, funcs, 1, s_), 1);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      TF_GraphRemoveFunction(func_graph_, func_name_, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  6. pkg/test/util/yml/cache.go

    func (c *Cache) deleteFile(file string) error {
    	return os.Remove(file)
    }
    
    func (c *Cache) generateFileName(key CacheKey) string {
    	c.discriminator++
    	d := c.discriminator
    
    	name := fmt.Sprintf("%s_%s_%s_%s-%d.yaml",
    		sanitize(key.group), sanitize(key.kind), sanitize(key.namespace), sanitize(key.name), d)
    
    	return path.Join(c.dir, name)
    }
    
    func sanitize(c string) string {
    	return strings.Replace(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 03 18:09:59 UTC 2021
    - 4K bytes
    - Viewed (0)
  7. src/syscall/mkasm.go

    	if len(os.Args) != 3 {
    		log.Fatalf("Usage: %s <goos> <arch>", os.Args[0])
    	}
    	goos, arch := os.Args[1], os.Args[2]
    
    	syscallFilename := fmt.Sprintf("syscall_%s.go", goos)
    	syscallArchFilename := fmt.Sprintf("syscall_%s_%s.go", goos, arch)
    
    	in1, err := os.ReadFile(syscallFilename)
    	if err != nil {
    		log.Fatalf("can't open syscall file: %s", err)
    	}
    	in2, err := os.ReadFile(syscallArchFilename)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 03:24:15 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. test/fixedbugs/issue9604b.go

    					}
    					r := t.trunc(op.eval(x, y))
    					eqn := fmt.Sprintf("%s_%s %s %s_%s != %d", t.name, valname(x), op.name, t.name, valname(y), r)
    					fmt.Printf("\tif %s { println(\"bad: %s\") }\n", eqn, eqn)
    				}
    			}
    		}
    		// test unary ops
    		for _, op := range unops {
    			for _, x := range t.testvalues() {
    				r := t.trunc(op.eval(x))
    				eqn := fmt.Sprintf("%s %s_%s != %d", op.name, t.name, valname(x), r)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/helpers.go

    // container, so that any change to the container generates a new key.
    func getStableKey(pod *v1.Pod, container *v1.Container) string {
    	hash := strconv.FormatUint(kubecontainer.HashContainer(container), 16)
    	return fmt.Sprintf("%s_%s_%s_%s_%s", pod.Name, pod.Namespace, string(pod.UID), container.Name, hash)
    }
    
    // logPathDelimiter is the delimiter used in the log path.
    const logPathDelimiter = "_"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. internal/logger/targets.go

    	for _, t := range sys {
    		key := strings.ToLower(t.Type().String())
    		n := cnt[key]
    		cnt[key]++
    		key = fmt.Sprintf("sys_%s_%d", key, n)
    		res[key] = t.Stats()
    	}
    
    	for _, t := range audit {
    		key := strings.ToLower(t.Type().String())
    		n := cnt[key]
    		cnt[key]++
    		key = fmt.Sprintf("audit_%s_%d", key, n)
    		res[key] = t.Stats()
    	}
    
    	return res
    }
    
    // AddSystemTarget adds a new logger target to the
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:44:50 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top