Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for could (0.12 sec)

  1. tensorflow/c/c_api.cc

      return nullptr;
    #else
      tensorflow::ServerDef server_def;
      if (!server_def.ParseFromArray(proto, static_cast<int>(proto_len))) {
        status->status = InvalidArgument(
            "Could not parse provided bytes into a ServerDef protocol buffer");
        return nullptr;
      }
    
      std::unique_ptr<tensorflow::ServerInterface> out_server;
      status->status = tensorflow::NewServer(server_def, &out_server);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api.cc

          tensorflow::unwrap(h);
      // TODO(b/175427838): It would be nice to be able to use tensorflow::isa here.
      if (tensorflow::CustomDeviceTensorHandle::classof(unwrapped_handle)) {
        return tensorflow::down_cast<tensorflow::CustomDeviceTensorHandle*>(
                   unwrapped_handle)
            ->DevicePointer();
      }
      // TODO(b/175427838): It would be nice to be able to use tensorflow::isa here.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
Back to top