Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DEVICE_CPU (0.1 sec)

  1. tensorflow/compiler/jit/mark_for_compilation_pass.cc

               (policy == XlaOpRegistry::AutoclusteringPolicy::kIfEnabledGlobally &&
                global_jit_level_ != OptimizerOptions::OFF) ||
               (device_type.type_string() == DEVICE_CPU &&
                policy ==
                    XlaOpRegistry::AutoclusteringPolicy::kIfExplicitlyRequested &&
                cpu_global_jit_);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  2. tensorflow/c/kernels_test.cc

        TF_ASSERT_OK(InitOp());
      }
    
    #if GOOGLE_CUDA || TENSORFLOW_USE_ROCM
      const char* device_name_ = tensorflow::DEVICE_GPU;
    #else
      const char* device_name_ = tensorflow::DEVICE_CPU;
    #endif
    };
    
    // Validates that the tensor has shape and type corresponding to
    // dims and dtype.
    void validate_tensor(TF_Tensor* tensor, int64_t* dims, int64_t num_dims,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 50.4K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

    REGISTER_OP("TestOpWithSingleKernel")
        .Input("a: float")
        .Input("b: float")
        .Output("o: float");
    REGISTER_KERNEL_BUILDER(
        Name("TestOpWithSingleKernel").Device(tensorflow::DEVICE_CPU), DummyKernel);
    
    TEST(TestKernel, TestGetAllRegisteredKernels) {
      TF_Status* status = TF_NewStatus();
      TF_Buffer* kernel_list_buf = TF_GetAllRegisteredKernels(status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
Back to top