- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 224 for Reshape (0.06 seconds)
-
docs/en/docs/tutorial/response-model.md
* Add a **JSON Schema** for the response, in the OpenAPI *path operation*. * This will be used by the **automatic docs**. * It will also be used by automatic client code generation tools.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 15.5K bytes - Click Count (0) -
docs/zh/docs/advanced/security/oauth2-scopes.md
在这个异常中,我们包含所需的作用域(如果有的话),以空格分隔的字符串(使用 `scope_str`)。我们把这个包含作用域的字符串放在 `WWW-Authenticate` 响应头中(这是规范要求的一部分)。 {* ../../docs_src/security/tutorial005_an_py310.py hl[106,108:116] *} ## 校验 `username` 与数据形状 { #verify-the-username-and-data-shape } 我们校验是否获取到了 `username`,并提取作用域。 然后使用 Pydantic 模型验证这些数据(捕获 `ValidationError` 异常),如果读取 JWT 令牌或用 Pydantic 验证数据时出错,就抛出我们之前创建的 `HTTPException`。 为此,我们给 Pydantic 模型 `TokenData` 添加了一个新属性 `scopes`。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 13K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/security/oauth2-scopes.md
在這個例外中,我們把所需的 scopes(若有)以空白分隔的字串形式(透過 `scope_str`)加入,並將該包含 scopes 的字串放在 `WWW-Authenticate` 標頭中(這是規格的一部分)。 {* ../../docs_src/security/tutorial005_an_py310.py hl[106,108:116] *} ## 驗證 `username` 與資料結構 { #verify-the-username-and-data-shape } 我們先確認取得了 `username`,並取出 scopes。 接著用 Pydantic 模型驗證這些資料(捕捉 `ValidationError` 例外),若在讀取 JWT token 或用 Pydantic 驗證資料時出錯,就丟出先前建立的 `HTTPException`。 為此,我們更新了 Pydantic 模型 `TokenData`,加入新屬性 `scopes`。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 12.7K bytes - Click Count (0) -
tensorflow/c/eager/c_api.h
TF_Status* status); // A handle to a tensor on a device. // // Like a TF_Tensor, a TFE_TensorHandle refers to a tensor with a value, shape, // type etc. Unlike a TF_Tensor, a TFE_TensorHandle may refer to such tensors // placed in the memory of different devices or remote address spaces. typedef struct TFE_TensorHandle TFE_TensorHandle;
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Click Count (0) -
src/main/webapp/js/chat.js
var html = marked.parse(text, { gfm: true, breaks: true }); return DOMPurify.sanitize(html, markdownSanitizeConfig); } /** * Escape HTML characters */ function escapeHtml(text) { if (!text) return ''; var div = document.createElement('div'); div.textContent = text; return div.innerHTML; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 01:36:02 GMT 2026 - 30.6K bytes - Click Count (0) -
tests/upsert_test.go
if !regexp.MustCompile(`INTO .restricted_languages. .*\(.code.,.name.,.lang.\) .* (SET|UPDATE) .name.=.*.name.\W*$`).MatchString(r.Statement.SQL.String()) { t.Errorf("Table with escape character, got %v", r.Statement.SQL.String()) } } user := *GetUser("upsert_on_conflict", Config{}) user.Age = 20 if err := DB.Create(&user).Error; err != nil {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Jul 29 11:06:13 GMT 2025 - 13.1K bytes - Click Count (0) -
docs/uk/docs/advanced/security/oauth2-scopes.md
{* ../../docs_src/security/tutorial005_an_py310.py hl[106,108:116] *} ## Перевірте `username` і структуру даних { #verify-the-username-and-data-shape } Ми перевіряємо, що отримали `username`, і видобуваємо scopes.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 20.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemBoundaryTest.java
String json = item.toJsonString(); assertNotNull(json); // JSON should properly escape quotes assertTrue("JSON should be valid", json.startsWith("{") && json.endsWith("}")); } @Test public void test_toJsonString_withAllFields() { String[] text = { "test" };Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Jan 17 05:10:37 GMT 2026 - 22.2K bytes - Click Count (0) -
docs/en/docs/tutorial/first-steps.md
This schema definition includes your API paths, the possible parameters they take, etc. #### Data "schema" { #data-schema } The term "schema" might also refer to the shape of some data, like a JSON content. In that case, it would mean the JSON attributes, and data types they have, etc. #### OpenAPI and JSON Schema { #openapi-and-json-schema }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 13.4K bytes - Click Count (0) -
tensorflow/c/eager/gradients.cc
absl::Span<AbstractTensorHandle* const> output_gradients, absl::Span<AbstractTensorHandle*> result) const override; // Builds a tensor filled with ones with the same shape and dtype as `t`. absl::Status BuildOnesLike(const TapeTensor& t, AbstractTensorHandle** result) const override; // Looks up the ID of a Gradient.
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Feb 24 06:18:31 GMT 2026 - 19.6K bytes - Click Count (0)