Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for CPU (0.13 sec)

  1. tensorflow/c/eager/c_api_test.cc

      TFE_DeleteTensorHandle(retvals[0]);
      TFE_DeleteContext(ctx);
      TF_DeleteStatus(status);
    }
    TEST(CAPI, Execute_MatMul_CPU_Runtime_Error) {
      Execute_MatMul_CPU_Runtime_Error(false);
    }
    TEST(CAPI, Execute_MatMul_CPU_Runtime_ErrorAsync) {
      Execute_MatMul_CPU_Runtime_Error(true);
    }
    
    void Execute_MatMul_CPU_Type_Error(bool async) {
      TF_Status* status = TF_NewStatus();
      TFE_ContextOptions* opts = TFE_NewContextOptions();
    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)
  2. tensorflow/BUILD

    )
    
    config_setting(
        name = "linux_aarch64",
        values = {"cpu": "aarch64"},
        visibility = ["//visibility:public"],
    )
    
    config_setting(
        name = "linux_armhf",
        values = {"cpu": "armhf"},
        visibility = ["//visibility:public"],
    )
    
    config_setting(
        name = "linux_x86_64",
        values = {"cpu": "k8"},
        visibility = ["//visibility:public"],
    )
    
    config_setting(
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  3. tensorflow/c/c_api_test.cc

      TF_DeleteStatus(s);
    }
    
    void Deallocator(void* data, size_t, void* arg) {
      tensorflow::cpu_allocator()->DeallocateRaw(data);
      *reinterpret_cast<bool*>(arg) = true;
    }
    
    TEST(CAPI, Tensor) {
      const int num_bytes = 6 * sizeof(float);
      float* values =
          reinterpret_cast<float*>(tensorflow::cpu_allocator()->AllocateRaw(
              TF_TensorDefaultAlignment(), num_bytes));
      int64_t dims[] = {2, 3};
    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. .bazelrc

    build:android_arm64 --config=android
    build:android_arm64 --cpu=arm64-v8a
    build:android_arm64 --fat_apk_cpu=arm64-v8a
    build:android_x86 --config=android
    build:android_x86 --cpu=x86
    build:android_x86 --fat_apk_cpu=x86
    build:android_x86_64 --config=android
    build:android_x86_64 --cpu=x86_64
    build:android_x86_64 --fat_apk_cpu=x86_64
    
    # Build everything statically for Android since all static libs are later
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
  5. tensorflow/c/c_api_function_test.cc

            TF_NewOperation(host_graph_, func_name_, func_node_name_);
        for (auto input : inputs) {
          TF_AddInput(desc, input);
        }
        // Set device to CPU because some ops inside the function might not be
        // available on GPU.
        TF_SetDevice(desc, "/cpu:0");
        *op = TF_FinishOperation(desc, s_);
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        ASSERT_NE(*op, nullptr);
      }
    
      FunctionDef fdef() {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  6. configure.py

      cleanup_makefile()
      setup_python(environ_cp)
    
      if is_windows():
        environ_cp['TF_NEED_OPENCL'] = '0'
        environ_cp['TF_CUDA_CLANG'] = '0'
        # TODO(ibiryukov): Investigate using clang as a cpu or cuda compiler on
        # Windows.
        environ_cp['TF_DOWNLOAD_CLANG'] = '0'
        environ_cp['TF_NEED_MPI'] = '0'
    
      if is_macos():
        environ_cp['TF_NEED_TENSORRT'] = '0'
    
      if is_ppc64le():
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
Back to top