Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for cdef (0.16 sec)

  1. tensorflow/c/c_api_function_test.cc

        tensorflow::FunctionDef fdef;
        ASSERT_TRUE(GetFunctionDef(func_, &fdef));
        VerifyFDefNodes(fdef, nodes);
        VerifyFDefInputs(fdef, inputs);
        VerifyFDefOutputs(fdef, outputs);
        VerifyFDefEdges(fdef, e_edges, c_edges, is_exact_edges);
      }
    
      // Serialize func_ to fdef and import it back
      void Reincarnate() {
        // func_ -> fdef
        tensorflow::FunctionDef fdef;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  2. tensorflow/c/c_api_test.cc

      tensorflow::GraphDef graph_def_proto;
      ASSERT_TRUE(tensorflow::ParseProtoUnlimited(&graph_def_proto, graph_def->data,
                                                  graph_def->length));
      TF_Buffer graph_def_buffer;
      graph_def_buffer.data = reinterpret_cast<const void*>(&graph_def_proto);
      graph_def_buffer.length = sizeof(tensorflow::GraphDef*);
      TF_ImportGraphDefResults* results =
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  3. tensorflow/c/eager/c_api_test.cc

        const tensorflow::ServerDef& cluster_server_def, int task_index) {
      tensorflow::ServerDef single_host_server_def;
      single_host_server_def.set_job_name("worker");
      single_host_server_def.set_protocol(cluster_server_def.protocol());
      single_host_server_def.set_task_index(0);
      tensorflow::ClusterDef* cluster_def =
          single_host_server_def.mutable_cluster();
      tensorflow::JobDef* job_def = cluster_def->add_job();
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  4. tensorflow/c/c_api.h

    // message) to `output_graph_def` (allocated by TF_NewBuffer()).
    // `output_graph_def`'s underlying buffer will be freed when TF_DeleteBuffer()
    // is called.
    //
    // May fail on very large graphs in the future.
    TF_CAPI_EXPORT extern void TF_GraphToGraphDef(TF_Graph* graph,
                                                  TF_Buffer* output_graph_def,
                                                  TF_Status* status);
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  5. fastapi/param_functions.py

        from fastapi import Depends, FastAPI
    
        app = FastAPI()
    
    
        async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100):
            return {"q": q, "skip": skip, "limit": limit}
    
    
        @app.get("/items/")
        async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
            return commons
        ```
        """
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  6. configure.py

    class UserInputError(Exception):
      pass
    
    
    def is_windows():
      return platform.system() == 'Windows'
    
    
    def is_linux():
      return platform.system() == 'Linux'
    
    
    def is_macos():
      return platform.system() == 'Darwin'
    
    
    def is_ppc64le():
      return platform.machine() == 'ppc64le'
    
    
    def is_s390x():
      return platform.machine() == 's390x'
    
    
    def is_cygwin():
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  7. tests/test_generate_unique_id_function.py

                }
            },
        }
    
    
    def test_warn_duplicate_operation_id():
        def broken_operation_id(route: APIRoute):
            return "foo"
    
        app = FastAPI(generate_unique_id_function=broken_operation_id)
    
        @app.post("/")
        def post_root(item1: Item):
            return item1  # pragma: nocover
    
        @app.post("/second")
        def post_second(item1: Item):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jan 13 15:10:26 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(response1.body.source().readUtf8(3)).isEqualTo("ABC")
        assertThat(response2.body.source().readUtf8(3)).isEqualTo("GHI")
        assertThat(response1.body.source().readUtf8(3)).isEqualTo("DEF")
        assertThat(response2.body.source().readUtf8(3)).isEqualTo("JKL")
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(1)
        response1.close()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  9. tensorflow/BUILD

    # the dynamic libraries of custom ops can find it at runtime.
    genrule(
        name = "tensorflow_filtered_def_file",
        srcs = [":tensorflow_def_file"],
        outs = ["tensorflow_filtered_def_file.def"],
        cmd = select({
            "//tensorflow:windows": """
                  $(location @local_config_def_file_filter//:def_file_filter) \\
                  --input $(location :tensorflow_def_file) \\
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (6)
  10. tests/test_application.py

            ("/nonexistent", 404, {"detail": "Not Found"}),
        ],
    )
    def test_get_path(path, expected_status, expected_response):
        response = client.get(path)
        assert response.status_code == expected_status
        assert response.json() == expected_response
    
    
    def test_swagger_ui():
        response = client.get("/docs")
        assert response.status_code == 200, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 52.2K bytes
    - Viewed (0)
Back to top