Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for 100 (0.2 sec)

  1. tensorflow/c/c_test.c

      const char* path;
    
      if (!TF_StringStreamNext(s, &path)) {
        fprintf(stderr, "TF_GetLocalTempDirectories returned no results\n");
        return 1;
      }
    
      char file_name[100];
      time_t t = time(NULL);
      snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t);
    
      size_t length = 2 + strlen(path) + strlen(file_name);
      char* full_path = malloc(length);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc

          context.get(), in_components, device_name, status.get());
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
    
      // Loop to make synchronization failures more deterministic
      for (int i = 0; i < 100; ++i) {
        TensorHandlePtr multiply_result(
            Multiply(context.get(), combined_value.get(), combined_value.get(),
                     status.get()));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 22:09:57 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  4. tensorflow/c/eager/c_api_test.cc

      TFE_DeleteTensorHandle(retval);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      float result[100 * 100] = {0};
      EXPECT_EQ(sizeof(result), TF_TensorByteSize(t));
      memcpy(&result[0], TF_TensorData(t), TF_TensorByteSize(t));
      TF_DeleteTensor(t);
      for (int i = 0; i < 100 * 100; ++i) {
        EXPECT_EQ(2.0f, result[i]);
      }
      TFE_DeleteContext(ctx);
      TF_DeleteStatus(status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  5. tensorflow/c/eager/immediate_execution_tensor_handle.cc

      if (!SummarizeValue(value_string).ok()) {
        value_string = "<error computing value>";
      }
      if (value_string.length() > 100) {
        // The default NumPy-style output can be distractingly long in error
        // messages.
        value_string = absl::StrCat(value_string.substr(0, 100), " [...]");
      }
      Status s;
      const char* device_name = DeviceName(&s);
      if (!s.ok()) {
        device_name = "<error fetching device name>";
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  6. .bazelrc

    # Increase the test timeout as tests often take longer on mac.
    test:rbe_cross_compile_macos_x86 --test_timeout=300,450,1200,3600
    # Limit jobs to 100 to avoid running into "out of memory" issues (b/316266643)
    build:rbe_cross_compile_macos_x86 --jobs=100
    test:rbe_cross_compile_macos_x86 --jobs=100
    # END MACOS CROSS-COMPILE CONFIGS
    # END CROSS-COMPILE CONFIGS
    
    # Try to load the XLA warnings config if available
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 52.6K bytes
    - Viewed (2)
  7. tensorflow/c/eager/c_api_test_util.cc

      TF_DeleteTensor(t);
      TF_DeleteStatus(status);
      return th;
    }
    
    TFE_TensorHandle* TestMatrixTensorHandle100x100(TFE_Context* ctx) {
      constexpr int64_t dims[] = {100, 100};
      constexpr int num_elements = dims[0] * dims[1];
      float data[num_elements];
      for (int i = 0; i < num_elements; ++i) {
        data[i] = 1.0f;
      }
      TF_Status* status = TF_NewStatus();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
  8. RELEASE.md

    *   `tf.math`:
    
        *   Added `tf.math.approx_max_k` and `tf.math.approx_min_k` which are the
            optimized alternatives to `tf.math.top_k` on TPU. The performance
            difference ranges from 8 to 100 times depending on the size of k. When
            running on CPU and GPU, a non-optimized XLA kernel is used.
    
    *   `tf.train`:
    
        *   Added `tf.train.TrackableView` which allows users to inspect the
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
Back to top