- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,357 for Huston (0.17 sec)
-
docs/en/layouts/custom.yml
{{ page.meta.get("description", config.site_description) or "" }} # Start of custom modified logic # Logo - &logo >- {%- if layout.logo -%} {{ layout.logo }} {%- elif config.theme.logo -%} {{ config.docs_dir }}/{{ config.theme.logo }} {%- endif -%} # End of custom modified logic # Logo (icon) - &logo_icon >- {{ config.theme.icon.logo or "" }}
Others - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Mon Jun 26 14:05:43 GMT 2023 - 6.5K bytes - Viewed (0) -
docs/en/docs/js/custom.js
JavaScript - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Sat May 08 17:50:56 GMT 2021 - 6.6K bytes - Viewed (0) -
docs/de/docs/advanced/custom-response.md
Sie können eine `RedirectResponse` direkt zurückgeben: ```Python hl_lines="2 9" {!../../../docs_src/custom_response/tutorial006.py!} ``` --- Oder Sie können sie im Parameter `response_class` verwenden: ```Python hl_lines="2 7 9" {!../../../docs_src/custom_response/tutorial006b.py!} ``` Wenn Sie das tun, können Sie die URL direkt von Ihrer *Pfadoperation*-Funktion zurückgeben.
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Tue Jan 23 13:05:12 GMT 2024 - 13.5K bytes - Viewed (0) -
docs/en/docs/advanced/custom-response.md
```Python hl_lines="2 10" {!../../../docs_src/custom_response/tutorial009.py!} ``` You can also use the `response_class` parameter: ```Python hl_lines="2 8 10" {!../../../docs_src/custom_response/tutorial009b.py!} ``` In this case, you can return the file path directly from your *path operation* function. ## Custom response class
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.7K bytes - Viewed (0) -
docs/ja/docs/advanced/custom-response.md
```Python hl_lines="2 7" {!../../../docs_src/custom_response/tutorial001.py!} ``` !!! tip "豆知識" `ORJSONResponse` のほうが高速な代替かもしれません。 ### `RedirectResponse` HTTPリダイレクトを返します。デフォルトでは307ステータスコード (Temporary Redirect) となります。 ```Python hl_lines="2 9" {!../../../docs_src/custom_response/tutorial006.py!} ``` ### `StreamingResponse`
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Mon Jul 19 19:14:58 GMT 2021 - 10.7K bytes - Viewed (0) -
docs/zh/docs/advanced/custom-response.md
```Python hl_lines="7 23 21" {!../../../docs_src/custom_response/tutorial004.py!} ``` 在这个例子中,函数 `generate_html_response()` 已经生成并返回 `Response` 对象而不是在 `str` 中返回 HTML。 通过返回函数 `generate_html_response()` 的调用结果,你已经返回一个重载 **FastAPI** 默认行为的 `Response` 对象, 但如果你在 `response_class` 中也传入了 `HTMLResponse`,**FastAPI** 会知道如何在 OpenAPI 和交互式文档中使用 `text/html` 将其文档化为 HTML。 <img src="/img/tutorial/custom-response/image01.png"> ## 可用响应 这里有一些可用的响应。
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Thu May 12 00:06:16 GMT 2022 - 7.8K bytes - Viewed (1) -
docs/em/docs/advanced/custom-response.md
```Python hl_lines="7 21 23" {!../../../docs_src/custom_response/tutorial004.py!} ``` 👉 🖼, 🔢 `generate_html_response()` ⏪ 🏗 & 📨 `Response` ↩️ 🛬 🕸 `str`. 🛬 🏁 🤙 `generate_html_response()`, 👆 ⏪ 🛬 `Response` 👈 🔜 🔐 🔢 **FastAPI** 🎭. ✋️ 👆 🚶♀️ `HTMLResponse` `response_class` 💁♂️, **FastAPI** 🔜 💭 ❔ 📄 ⚫️ 🗄 & 🎓 🩺 🕸 ⏮️ `text/html`: <img src="/img/tutorial/custom-response/image01.png"> ## 💪 📨
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 9.8K bytes - Viewed (0) -
tensorflow/c/eager/custom_device_testutil.cc
void** device_info) { TFE_CustomDevice* custom_device = new TFE_CustomDevice; custom_device->copy_tensor_to_device = &CopyToLoggingDevice; custom_device->copy_tensor_from_device = &CopyTensorFromLoggingDevice; custom_device->delete_device = &DeleteLoggingDevice; custom_device->execute = &LoggingDeviceExecute; *device = custom_device; LoggingDevice* logging_device = new LoggingDevice;
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Mar 03 20:47:31 GMT 2021 - 8.3K bytes - Viewed (0) -
tensorflow/c/eager/custom_device_test.cc
ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); bool arrived = false; bool executed = false; const char* custom_device_name = "/job:localhost/replica:0/task:0/device:CUSTOM:0"; RegisterLoggingDevice(context.get(), custom_device_name, /*strict_scope_placement=*/true, &arrived, &executed, status.get());
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Aug 27 23:39:24 GMT 2020 - 18.4K bytes - Viewed (0) -
tensorflow/c/eager/custom_device_testutil.h
limitations under the License. ==============================================================================*/ #ifndef TENSORFLOW_C_EAGER_CUSTOM_DEVICE_TESTUTIL_H_ #define TENSORFLOW_C_EAGER_CUSTOM_DEVICE_TESTUTIL_H_ // A simple logging device to test custom device registration. #include <memory> #include "tensorflow/c/c_api.h" #include "tensorflow/c/eager/c_api.h" #include "tensorflow/c/eager/c_api_experimental.h"
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Aug 27 23:39:24 GMT 2020 - 1.6K bytes - Viewed (0)