Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 186 for Device (0.17 sec)

  1. tensorflow/c/eager/parallel_device/BUILD

    # tensorflow/python:_pywrap_parallel_device.
    filegroup(
        name = "lib_headers",
        srcs = ["parallel_device_lib.h"],
    )
    
    filegroup(
        name = "lib_sources",
        srcs = ["parallel_device_lib.cc"],
    )
    
    filegroup(
        name = "device_headers",
        srcs = ["parallel_device.h"],
    )
    
    filegroup(
        name = "device_sources",
        srcs = ["parallel_device.cc"],
    )
    
    filegroup(
        name = "headers",
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 01 20:19:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.cc

          // One of the inputs we're trying to pack is on a custom device. We'll let
          // the first custom device we see handle all of the packing.
          auto* custom_device_handle =
              tensorflow::down_cast<tensorflow::CustomDeviceTensorHandle*>(
                  unwrapped_handle);
          tensorflow::ImmediateExecutionTensorHandle* result;
          status->status = custom_device_handle->device()->Pack(
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  3. android/guava/src/com/google/common/net/HttpHeaders.java

       * href="https://iabtechlab.com/wp-content/uploads/2019/06/VAST_4.2_final_june26.pdf">{@code
       * X-Device-IP}</a> header field name. Header used for VAST requests to provide the IP address of
       * the device on whose behalf the request is being made.
       *
       * @since 31.0
       */
      public static final String X_DEVICE_IP = "X-Device-IP";
      /**
       * The HTTP <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
  4. tests/main.py

        return ",".join(map(str, sorted(query)))
    
    
    @app.get("/query/list")
    def get_query_list(device_ids: List[int] = Query()) -> List[int]:
        return device_ids
    
    
    @app.get("/query/list-default")
    def get_query_list_default(device_ids: List[int] = Query(default=[])) -> List[int]:
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_test.cc

        CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
        LOG(INFO) << "Device " << i << " has name " << device_name << ", type "
                  << device_type;
        if (string(device_type) == DEVICE_GPU) {
          return device_name;
        }
      }
      // No GPU device found.
      return "";
    }
    
    string GPUDeviceName() {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
    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)
  6. tests/test_query.py

        response = client.get("/query/list/?device_ids=1&device_ids=2")
        assert response.status_code == 200
        assert response.json() == [1, 2]
    
    
    def test_query_list_empty():
        response = client.get("/query/list/")
        assert response.status_code == 422
    
    
    def test_query_list_default():
        response = client.get("/query/list-default/?device_ids=1&device_ids=2")
        assert response.status_code == 200
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_experimental.cc

    #include "tensorflow/core/common_runtime/eager/context.h"
    #include "tensorflow/core/common_runtime/eager/eager_operation.h"
    #include "tensorflow/core/common_runtime/pluggable_device/pluggable_device_plugin_init.h"
    #include "tensorflow/core/distributed_runtime/rpc/grpc_server_lib.h"
    #include "tensorflow/core/framework/collective.h"
    #include "tensorflow/core/framework/node_def.pb.h"
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  8. tensorflow/c/eager/BUILD

            "//tensorflow/core:test_main",
            "@com_google_absl//absl/strings",
        ],
    )
    
    cc_library(
        name = "custom_device_testutil",
        testonly = True,
        srcs = ["custom_device_testutil.cc"],
        hdrs = ["custom_device_testutil.h"],
        visibility = ["//tensorflow:internal"],
        deps = [
            ":c_api",
            ":c_api_experimental",
            ":c_api_test_util",
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 33.3K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.cc

    }
    
    void TF_SetRequestedDevice(TF_Graph* graph, TF_Operation* op,
                               const char* device) {
      using tensorflow::RecordMutation;
      mutex_lock l(graph->mu);
      op->node.set_requested_device(device);
      RecordMutation(graph, *op, "setting device");
    }
    
    void TF_RemoveAllControlInputs(TF_Graph* graph, TF_Operation* op) {
      mutex_lock l(graph->mu);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  10. tests/test_application.py

                            {
                                "name": "device_ids",
                                "in": "query",
                                "required": True,
                                "schema": {
                                    "type": "array",
                                    "items": {"type": "integer"},
                                    "title": "Device Ids",
                                },
                            }
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 52.2K bytes
    - Viewed (0)
Back to top