Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 300 for yield4x (0.13 sec)

  1. 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)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

        // if they are yielded they always have to be forwarded 1:1.
        auto forwarded_operands = cond_yield->getOperands().drop_front(1);
        for (auto [arg, yield] :
             llvm::zip(op.getCond().getArguments(), forwarded_operands)) {
          if (arg != yield) {
            return op.emitOpError()
                   << "arguments on condition block aren't forwarded to yield";
          }
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/os/dir.go

    )
    
    // Readdir reads the contents of the directory associated with file and
    // returns a slice of up to n [FileInfo] values, as would be returned
    // by [Lstat], in directory order. Subsequent calls on the same file will yield
    // further FileInfos.
    //
    // If n > 0, Readdir returns at most n FileInfo structures. In this case, if
    // Readdir returns an empty slice, it will return a non-nil error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/convert_control_to_data_outputs.mlir

      %graph = tf_executor.graph {
        %island, %ctrl = tf_executor.island {
          %pred = "tf.SomeOp"(%arg2) : (tensor<f32>) -> tensor<i32>
          tf_executor.yield %pred : tensor<i32>
        }
        tf_executor.fetch %island : tensor<i32>
      }
      func.return %graph : tensor<i32>
    }
    
    // CHECK-LABEL:   func @simple_independent_chains
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 18:35:00 UTC 2024
    - 68.9K bytes
    - Viewed (0)
  7. src/internal/trace/base.go

    func (d *dataTable[EI, E]) forEach(yield func(EI, E) bool) bool {
    	for id, value := range d.dense {
    		if d.present[id/8]&(uint8(1)<<(id%8)) == 0 {
    			continue
    		}
    		if !yield(EI(id), value) {
    			return false
    		}
    	}
    	if d.sparse == nil {
    		return true
    	}
    	for id, value := range d.sparse {
    		if !yield(id, value) {
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      // CHECK:   %[[MUL:.*]] = "tf.Mul"(%[[ARG0]], %[[ARG1]])
      // CHECK:   "tf.Yield"(%[[MUL]]) : (tensor<f32>)
      // CHECK:  },  {
      // CHECK:    %[[SUB:.*]] = "tf.Sub"(%[[ARG0]], %[[ARG1]])
      // CHECK:    "tf.Yield"(%[[SUB]]) : (tensor<f32>)
      // CHECK:  },  {
      // CHECK:    %[[ADD:.*]] = "tf.AddV2"(%[[ARG0]], %[[ARG1]])
      // CHECK:    "tf.Yield"(%[[ADD]]) : (tensor<f32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py

        static_dir: Path = Path(os.getcwd()) / "static"
        print(static_dir)
        static_dir.mkdir(exist_ok=True)
        from docs_src.custom_docs_ui.tutorial001 import app
    
        with TestClient(app) as client:
            yield client
        static_dir.rmdir()
    
    
    def test_swagger_ui_html(client: TestClient):
        response = client.get("/docs")
        assert response.status_code == 200, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CacheCorruptionTest.kt

        corruptor()
    
        return client.newCall(request).execute()
      }
    
      /**
       * @param delta the offset from the current date to use. Negative values yield dates in the past;
       *     positive values yield dates in the future.
       */
      private fun formatDate(
        delta: Long,
        timeUnit: TimeUnit,
      ): String? {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top