Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 977 for handles (0.19 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

                                  /*expected_max_outputs=*/1, status.get());
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      const std::vector<std::unique_ptr<ParallelTensor>>& handles = *outputs;
      std::vector<ParallelTensor*> handle_inputs;
      handle_inputs.reserve(handles.size());
      for (auto& handle : handles) {
        handle_inputs.push_back(handle.get());
      }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 15.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_remote_test_util.cc

      ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
    
      TFE_TensorHandle* packed_handle = nullptr;
      if (has_packed_input) {
        int num_replicas = 1;
        std::vector<TFE_TensorHandle*> packed_handles = {h1_task2};
        packed_handle = TFE_CreatePackedTensorHandle(ctx, packed_handles.data(),
                                                     &num_replicas, status);
        ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 22:56:03 GMT 2020
    - 9.1K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental.cc

                                                   int* num_handles,
                                                   TF_Status* status) {
      std::vector<tensorflow::TensorHandle*> tensor_handles;
      tensor_handles.reserve(*num_handles);
      for (int i = 0; i < *num_handles; ++i) {
        tensorflow::ImmediateExecutionTensorHandle* unwrapped_handle =
            tensorflow::unwrap(handles[i]);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  4. doc/next/6-stdlib/2-unique.md

    `Make[T]` function, which produces a reference to a canonical copy of
    the value in the form of a `Handle[T]`.
    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    their memory footprint.
    Comparing two `Handle[T]` values is efficient, reducing down to a simple
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Apr 24 13:37:36 GMT 2024
    - 579 bytes
    - Viewed (0)
  5. tensorflow/c/eager/abstract_tensor_handle.cc

                          ", dtype=", DataType_Name(DataType()),
                          ", type=", FullType().DebugString(), ")");
    }
    
    Status AbstractTensorHandle::TensorHandleStatus() const {
      // Tensor handles in current runtime don't carry error info and this method
      // should always return OK status.
      return absl::OkStatus();
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/StreamHandler.kt

     */
    package mockwebserver3
    
    import okhttp3.ExperimentalOkHttpApi
    
    /**
     * Handles a call's stream directly. Use this instead of [MockResponseBody] to begin sending
     * response data before all request data has been received.
     *
     * See [okhttp3.RequestBody.isDuplex].
     */
    @ExperimentalOkHttpApi
    interface StreamHandler {
      fun handle(stream: Stream)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 945 bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/eventbus/SubscriberExceptionHandler.java

     * the License.
     */
    
    package com.google.common.eventbus;
    
    
    /**
     * Handler for exceptions thrown by event subscribers.
     *
     * @since 16.0
     */
    @ElementTypesAreNonnullByDefault
    public interface SubscriberExceptionHandler {
      /** Handles exceptions thrown by subscribers. */
      void handleException(Throwable exception, SubscriberExceptionContext context);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:05:46 GMT 2021
    - 928 bytes
    - Viewed (0)
  8. cmd/bucket-policy-handlers_test.go

    			t.Fatalf("Test %d: Failed to create HTTP request for GetBucketPolicyHandler: <ERROR> %v", i+1, err)
    		}
    		// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    		// Call the ServeHTTP to execute the handler, GetBucketPolicyHandler handles the request.
    		apiRouter.ServeHTTP(recV4, reqV4)
    		// Assert the response code with the expected status.
    		if recV4.Code != testCase.expectedRespStatus {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  9. src/bufio/scan_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    // Test that the line splitter handles a final line without a newline.
    func TestScanLineNoNewline(t *testing.T) {
    	const text = "abcdefghijklmn\nopqrstuvwxyz"
    	lines := []string{
    		"abcdefghijklmn",
    		"opqrstuvwxyz",
    	}
    	testNoNewline(text, lines, t)
    }
    
    // Test that the line splitter handles a final line with a carriage return but no newline.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/escape/Escaper.java

       * escaper implementation.
       *
       * <ul>
       *   <li>{@link UnicodeEscaper} handles <a href="http://en.wikipedia.org/wiki/UTF-16">UTF-16</a>
       *       correctly, including surrogate character pairs. If the input is badly formed the escaper
       *       should throw {@link IllegalArgumentException}.
       *   <li>{@link CharEscaper} handles Java characters independently and does not verify the input
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 16:02:17 GMT 2021
    - 4.6K bytes
    - Viewed (0)
Back to top