- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for CreateCall (0.13 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_regions.cc
CopyDeviceAndUnderscoredAttributes(if_op, if_region); CreateCall(if_op, if_op.then_function(), /*caller_region=*/if_region.getThenBranch(), if_op.getInput(), /*use_region_args=*/false, /*forward_block_args=*/false); CreateCall(if_op, if_op.else_function(), /*caller_region=*/if_region.getElseBranch(), if_op.getInput(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0) -
docs/en/docs/advanced/testing-database.md
## Create the database Because now we are going to use a new database in a new file, we need to make sure we create the database with: ```Python Base.metadata.create_all(bind=engine) ``` That is normally called in `main.py`, but the line in `main.py` uses the database file `sql_app.db`, and we need to make sure we create `test.db` for the tests.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 3.5K bytes - Viewed (0) -
docs/zh/docs/advanced/testing-database.md
``` !!! tip "提示" 为减少代码重复,最好把这段代码写成函数,在 `database.py` 与 `tests/test_sql_app.py`中使用。 为了把注意力集中在测试代码上,本例只是复制了这段代码。 ## 创建数据库 因为现在是想在新文件中使用新数据库,所以要使用以下代码创建数据库: ```Python Base.metadata.create_all(bind=engine) ``` 一般是在 `main.py` 中调用这行代码,但在 `main.py` 里,这行代码用于创建 `sql_app.db`,但是现在要为测试创建 `test.db`。 因此,要在测试代码中添加这行代码创建新的数据库文件。 ```Python hl_lines="16"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun Jan 28 18:09:26 UTC 2024 - 2.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/StatsTesting.java
} @Override public String toString() { return values.toString(); } private static ImmutableList<ManyValues> createAll() { ImmutableList.Builder<ManyValues> builder = ImmutableList.builder(); double[] values = new double[5]; for (double first : ImmutableList.of(1.1, POSITIVE_INFINITY, NEGATIVE_INFINITY, NaN)) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Nov 09 22:49:56 UTC 2023 - 22.4K bytes - Viewed (0)