Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for dataPost (0.08 sec)

  1. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

        assertThat(request.method).isEqualTo("PUT")
        assertThat(request.url.toString()).isEqualTo("http://example.com/")
        assertThat(request.body!!.contentLength()).isEqualTo(3)
      }
    
      @Test
      fun dataPost() {
        val request = fromArgs("-d", "foo", "http://example.com").createRequest()
        val body = request.body
        assertThat(request.method).isEqualTo("POST")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/dlpack_test.cc

          }
        }
      }
      const float* data_in = static_cast<const float*>(dltensor_in->data);
      const float* data_out = static_cast<const float*>(dltensor_out->data);
      for (size_t j = 0; j < num_elements; ++j) {
        EXPECT_EQ(data_out[j], data_in[j]);
      }
    
      TFE_CallDLManagedTensorDeleter(dlm_out);
      TFE_DeleteTensorHandle(handle);
    }
    
    TEST(DLPack, HandleFromDLPackStrides) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Jun 30 03:04:46 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top