Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 25 for Shape (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tensorflow/c/c_api_experimental_test.cc

      CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_);
    
      // Infer shape when everything is known.
      CheckOutputShapes(matmul_op,
                        /*input_shapes*/ {make_shape({3, 2}), make_shape({2, 4})},
                        /*input_tensors*/ {},
                        /*expected_shape*/ make_shape({3, 4}));
    
      // Infer shape when second operand has unknown shape.
      CheckOutputShapes(matmul_op,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  2. tensorflow/c/c_api_test.cc

    }
    
    TEST(CAPI, ShapeInferenceError) {
      // TF_FinishOperation should fail if the shape of the added operation cannot
      // be inferred.
      TF_Status* status = TF_NewStatus();
      TF_Graph* graph = TF_NewGraph();
    
      // Create this failure by trying to add two nodes with incompatible shapes
      // (A tensor with shape [2] and a tensor with shape [3] cannot be added).
      const char data[] = {1, 2, 3};
      const int64_t vec2_dims[] = {2};
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 97.3K bytes
    - Click Count (0)
  3. tensorflow/c/checkpoint_reader.h

      void GetTensor(const std::string& name,
                     std::unique_ptr<tensorflow::Tensor>* out_tensor,
                     TF_Status* out_status) const;
    
     private:
      // Uses "v2_reader_" to build "var name -> shape" and "var name -> data type"
      // maps; both owned by caller.
      // REQUIRES: "v2_reader_ != nullptr && v2_reader_.status().ok()".
      std::pair<std::unique_ptr<TensorSliceReader::VarToShapeMap>,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  4. docs/en/docs/advanced/security/oauth2-scopes.md

    {* ../../docs_src/security/tutorial005_an_py310.py hl[106,108:116] *}
    
    ## Verify the `username` and data shape { #verify-the-username-and-data-shape }
    
    We verify that we get a `username`, and extract the scopes.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  5. tensorflow/c/c_api_internal.h

    };
    
    struct TF_Library {
      void* lib_handle;
      TF_Buffer op_list;
    };
    
    struct TF_Graph {
      TF_Graph();
    
      mutable tensorflow::mutex mu;
      tensorflow::Graph graph TF_GUARDED_BY(mu);
    
      // Runs shape inference.
      tensorflow::ShapeRefiner refiner TF_GUARDED_BY(mu);
    
      // Maps from name of an operation to the Node* in 'graph'.
      std::unordered_map<std::string, tensorflow::Node*> name_map TF_GUARDED_BY(mu);
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/schema-extra-example.md

    And Swagger UI has supported this particular `examples` field for a while. So, you can use it to **show** different **examples in the docs UI**.
    
    The shape of this OpenAPI-specific field `examples` is a `dict` with **multiple examples** (instead of a `list`), each with extra information that will be added to **OpenAPI** too.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/dependencies/index.md

    It is just a function that can take all the same parameters that a *path operation function* can take:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8:9] *}
    
    That's it.
    
    **2 lines**.
    
    And it has the same shape and structure that all your *path operation functions* have.
    
    You can think of it as a *path operation function* without the "decorator" (without the `@app.get("/some-path")`).
    
    And it can return anything you want.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  8. docs/en/docs/python-types.md

    It doesn't mean "`one_person` is the **class** called `Person`".
    
    ## Pydantic models { #pydantic-models }
    
    [Pydantic](https://docs.pydantic.dev/) is a Python library to perform data validation.
    
    You declare the "shape" of the data as classes with attributes.
    
    And each attribute has a type.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    {* ../../docs_src/dependencies/tutorial007_py310.py hl[3,5] *}
    
    ## Sub-dependencies with `yield` { #sub-dependencies-with-yield }
    
    You can have sub-dependencies and "trees" of sub-dependencies of any size and shape, and any or all of them can use `yield`.
    
    **FastAPI** will make sure that the "exit code" in each dependency with `yield` is run in the correct order.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  10. 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)
Back to Top