- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,131 for yield (0.07 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py
rng.uniform(low=0.0, high=1.0, size=static_input_shape).astype( np.float32 ) ) def data_gen() -> repr_dataset.RepresentativeDataset: for _ in range(100): yield { 'input_tensor': rng.uniform( low=0.0, high=1.0, size=static_input_shape ).astype(np.float32) } dataset_path = self.create_tempfile('tfrecord').full_path
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 51.4K bytes - Viewed (0) -
docs/en/docs/tutorial/sql-databases.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 29.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirFileScope.kt
is FirProperty -> firDeclaration.takeIf { nameFilter(firDeclaration.name) } else -> null } if (callableDeclaration != null) { yield(builder.callableBuilder.buildCallableSymbol(callableDeclaration.symbol)) } } } }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 4.7K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td
"tf.IfRegion"(%0) ( { %2 = "tf.A"() : () -> (tensor<f32>) "tf.Yield"() : () -> () }, { "tf.Yield"() : () -> () }) { is_stateless = true } : (tensor<i1>) -> () "tf.IfRegion"(%0) ( { %2 = "tf.B"() : () -> (tensor<f32>) "tf.Yield"() : () -> () }, { "tf.Yield"() : () -> () }) { is_stateless = true } : (tensor<i1>) -> () ```
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 99.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 24 04:40:49 UTC 2024 - 6.2K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirResolveExtensionInfoProvider.kt
val declarationName = declaration.nameAsName ?: continue if (!nameFilter(declarationName)) continue with(analysisSession) { yield(declaration.getSymbol() as S) } } } } override fun getConstructors(): Sequence<KaConstructorSymbol> = withValidityAssertion { emptySequence() }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 5.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc
SmallVector<Type, 16> func_operand_types; func_operand_types.reserve(operands.size()); for (Value operand : operands) func_operand_types.push_back(operand.getType()); // Function results are the yield operands SmallVector<Type, 16> func_result_types; for (Value operand : island_op.GetYield().getOperands()) func_result_types.push_back(operand.getType()); FunctionType func_type =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.7K bytes - Viewed (0) -
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) -
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)