Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for use (0.2 sec)

  1. tensorflow/c/eager/c_api_test.cc

    TEST(CAPI, FunctionDefAndExecuteAsync) { FunctionDefAndExecute(true); }
    
    void RunAddFunction(bool use_tfrt, bool enable_grappler) {
      TF_Status* status = TF_NewStatus();
      TFE_ContextOptions* opts = TFE_NewContextOptions();
      TFE_ContextOptionsSetTfrt(opts, use_tfrt);
      TFE_Context* ctx = TFE_NewContext(opts, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(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)
  2. tensorflow/c/c_api_test.cc

    }
    
    TEST(CAPI, Session_Min_CPU) { RunMinTest(/*device=*/"", /*use_XLA=*/false); }
    
    TEST(CAPI, Session_Min_XLA_CPU) { RunMinTest(/*device=*/"", /*use_XLA=*/true); }
    
    TEST(CAPI, Session_Min_GPU) {
      const string gpu_device = GPUDeviceName();
      // Skip this test if no GPU is available.
      if (gpu_device.empty()) return;
    
      RunMinTest(gpu_device, /*use_XLA=*/false);
    }
    
    TEST(CAPI, Session_Min_XLA_GPU) {
    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)
  3. tensorflow/c/c_api_function_test.cc

       *                   |
       *                   v
       */
      // Define
      TF_Operation* c = ScalarConst(10, func_graph_, s_, "scalar10");
      Define(-1, {}, {}, {c}, {});
    
      // Use, run, and verify
      TF_Operation* func_op = Use({});
      Run({}, func_op, 10);
      VerifyFDef({"scalar10_0"}, {}, {{"scalar10", DT_INT32}},
                 {{"scalar10_0:output:0", "scalar10"}}, {});
    }
    
    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)
  4. tensorflow/BUILD

    # been loaded by pywrap_tensorflow) and registers its ops and kernels via
    # REGISTER_OP and REGISTER_KERNEL_BUILDER (which use symbols from
    # libtensorflow_framework.so), and pywrap_tensorflow can then use these
    # ops. Since other languages use the same libtensorflow_framework.so, op
    # libraries are language agnostic.
    #
    # This shared object is not used unless framework_shared_object=true (set in the
    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)
  5. configure.py

        if environ_cp.get('USE_DEFAULT_PYTHON_LIB_PATH') == '1':
          python_lib_path = python_lib_paths[0]
        else:
          print('Found possible Python library paths:\n  %s' %
                '\n  '.join(python_lib_paths))
          default_python_lib_path = python_lib_paths[0]
          python_lib_path = get_input(
              'Please input the desired Python library path to use.  '
    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)
  6. .bazelrc

    build:windows --copt=/Zc:__cplusplus
    build:windows --host_copt=/Zc:__cplusplus
    
    # Tensorflow uses M_* math constants that only get defined by MSVC headers if
    # _USE_MATH_DEFINES is defined.
    build:windows --copt=/D_USE_MATH_DEFINES
    build:windows --host_copt=/D_USE_MATH_DEFINES
    
    # Windows has a relatively short command line limit, which TF has begun to hit.
    # See https://docs.bazel.build/versions/main/windows.html
    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)
  7. tensorflow/c/c_api.h

    //   example, one cannot use the output of "switch" node as input.
    // - `inputs` and `outputs` cannot have reference types. Reference types are
    //   not exposed through C API and are being replaced with Resources. We support
    //   reference types inside function's body to support legacy code. Do not
    //   use them in new code.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
Back to top