Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 263 for yield4 (0.23 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy

    - Field field2 is not valid: Fields must be static final.
    - Constructor DefaultStructBindingsStoreTest.MultipleProblemsSuper(java.lang.String) is not valid: Custom constructors are not supported.
    - Field DefaultStructBindingsStoreTest.MultipleProblemsSuper.field1 is not valid: Fields must be static final.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/sql-databases.md

        But you can't raise another exception from the exit code (after `yield`). See more in [Dependencies with `yield` and `HTTPException`](dependencies/dependencies-with-yield.md#dependencies-with-yield-and-httpexception){.internal-link target=_blank}
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  3. src/internal/concurrent/hashtriemap.go

    // safe to operate on the tree during iteration. No particular enumeration
    // order is guaranteed.
    func (ht *HashTrieMap[K, V]) All() func(yield func(K, V) bool) {
    	return func(yield func(key K, value V) bool) {
    		ht.iter(ht.root, yield)
    	}
    }
    
    func (ht *HashTrieMap[K, V]) iter(i *indirect[K, V], yield func(key K, value V) bool) bool {
    	for j := range i.children {
    		n := i.children[j].Load()
    		if n == nil {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/freeze_variables.mlir

        %0 = "tf.IfRegion"(%arg0) ({
          %1 = "tf.ReadVariableOp"(%handle) : (tensor<!tf_type.resource<tensor<0xf32>>>) -> (tensor<0xf32>)
          "tf.Yield"(%1) : (tensor<0xf32>) -> ()
         },  {
          %2 = "tf.Const"() {value = dense<1.0> : tensor<0xf32>} : () -> tensor<0xf32>
          "tf.Yield"(%2) : (tensor<0xf32>) -> ()
        }) {is_stateless = true} : (tensor<i1>) -> (tensor<0xf32>)
        func.return %0 : tensor<0xf32>
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tensor_list_ops_decomposition.mlir

      ^bb0(%arg0: tensor<!tf_type.variant<tensor<f32>>>, %arg1: tensor<i32>):
        // CHECK:   %[[PRED:.*]] = "tf._SomeOp"()
        // CHECK:   "tf.Yield"(%[[PRED]])
        %pred = "tf._SomeOp"() : () -> tensor<i1>
        "tf.Yield"(%pred) : (tensor<i1>) -> ()
      },  {
      // CHECK: ^bb0(%[[CARG0:.*]]: tensor<10xf32>, %[[CARG1:.*]]: tensor<i32>, %[[CARG2:.*]]: tensor<1xi32>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 38.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc

        // match the "func.return" within the function.
        //
        // So this would transform
        // func.func @f(...) -> ... {
        //     yield %x : foo
        // }
        // ...
        // func.call @f(...) -> bar
        //
        // to
        //
        // func.func @f(...) -> ... {
        //     yield %x : foo
        // }
        // ...
        // func.call f(...) -> foo
        auto symbol_uses = f.getSymbolUses(f->getParentOp());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. src/encoding/csv/reader.go

    		}
    		if len(line) == 0 || line[0] != '"' {
    			// Non-quoted string field
    			i := bytes.IndexRune(line, r.Comma)
    			field := line
    			if i >= 0 {
    				field = field[:i]
    			} else {
    				field = field[:len(field)-lengthNL(field)]
    			}
    			// Check to make sure a quote does not appear in field.
    			if !r.LazyQuotes {
    				if j := bytes.IndexByte(field, '"'); j >= 0 {
    					col := pos.col + j
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/sql-databases.md

        我们将`SessionLocal()`请求的创建和处理放在一个`try`块中。
    
        然后我们在finally块中关闭它。
    
        通过这种方式,我们确保数据库会话在请求后始终关闭。即使在处理请求时出现异常。
    
        但是您不能从退出代码中引发另一个异常(在yield之后)。可以查阅 [Dependencies with yield and HTTPException](https://fastapi.tiangolo.com/zh/tutorial/dependencies/dependencies-with-yield/#dependencies-with-yield-and-httpexception)
    
    *然后,当在路径操作函数*中使用依赖项时,我们使用`Session`,直接从 SQLAlchemy 导入的类型声明它。
    
    *这将为我们在路径操作函数*中提供更好的编辑器支持,因为编辑器将知道`db`参数的类型`Session`:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue May 07 21:00:22 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h.pump

    // are all in the testing namespace:
    //
    //
    //  Range(begin, end [, step]) - Yields values {begin, begin+step,
    //                               begin+step+step, ...}. The values do not
    //                               include end. step defaults to 1.
    //  Values(v1, v2, ..., vN)    - Yields values {v1, v2, ..., vN}.
    //  ValuesIn(container)        - Yields values from a C-style array, an STL
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset_test.py

            np.random.uniform(low=-1.0, high=1.0, size=(1, 4)).astype('f4')
            for _ in range(num_samples)
        ]
    
        def data_gen() -> repr_dataset.RepresentativeDataset:
          for sample in samples:
            yield {'input_tensor': ops.convert_to_tensor(sample)}
    
        with self.session() as sess:
          new_repr_ds = repr_dataset.replace_tensors_by_numpy_ndarrays(
              data_gen(), sess
          )
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 04 07:35:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top