Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for expose (0.32 sec)

  1. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.h

    //
    // In general, the `TF_InitPlugin` symbol doesn't need to be exposed in a header
    // file, since the plugin registration will look for the symbol in the DSO file
    // that provides the filesystem functionality. However, the POSIX filesystem
    // needs to be statically registered in some tests and utilities for building
    // the API files at the time of creating the pip package. Hence, we need to
    // expose this function so that this filesystem can be statically registered
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Mar 20 16:42:12 GMT 2020
    - 1.5K bytes
    - Viewed (0)
  2. ci/official/bisect.sh

    #
    #   export TFCI=...
    #   export TF_BISECT_SCRIPT=ci/official/any.sh
    #   export TF_BISECT_GOOD=a_good_commit_sha
    #   export TF_BISECT_BAD=a_failing_commit_sha
    #   export TF_ANY_TARGETS="quoted list of targets, like on the command line"
    #   export TF_ANY_MODE=test
    set -euxo pipefail
    cd "$(dirname "$0")/../../"  # tensorflow/
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. ci/official/utilities/get_versions.sh

    # $2 in <Tensor'flow'> is <flow>. This is useful for reading string literals like below.
    export TF_VER_SUFFIX=$(awk -F\" '/#define TF_VERSION_SUFFIX/ {print $2}' tensorflow/core/public/version.h)
    export TF_VER_PYTHON=$(awk -F\' '/_VERSION =/ {print $2}' tensorflow/tools/pip_package/setup.py)
    
    # Derived helper variables.
    export TF_VER_SHORT="${TF_VER_MAJOR}.${TF_VER_MINOR}"
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_macros.h

    #ifdef SWIG
    #define TF_CAPI_EXPORT
    #else
    #if defined(_WIN32)
    #ifdef TF_COMPILE_LIBRARY
    #define TF_CAPI_EXPORT __declspec(dllexport)
    #else
    #define TF_CAPI_EXPORT __declspec(dllimport)
    #endif  // TF_COMPILE_LIBRARY
    #else
    #ifdef TF_CAPI_WEAK
    #define TF_CAPI_EXPORT \
      __attribute__((visibility("default"))) __attribute((weak))
    #else
    #define TF_CAPI_EXPORT __attribute__((visibility("default")))
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 04:44:45 GMT 2023
    - 1.6K bytes
    - Viewed (1)
  5. tensorflow/c/eager/c_api_debug.cc

      }
      return new TFE_TensorDebugInfo(dev_dims);
    }
    
    TF_CAPI_EXPORT extern void TFE_DeleteTensorDebugInfo(
        TFE_TensorDebugInfo* debug_info) {
      delete debug_info;
    }
    
    TF_CAPI_EXPORT extern int TFE_TensorDebugInfoOnDeviceNumDims(
        TFE_TensorDebugInfo* debug_info) {
      return debug_info->dev_dims.size();
    }
    
    TF_CAPI_EXPORT extern int64_t TFE_TensorDebugInfoOnDeviceDim(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_test.cc

      ASSERT_TRUE(TF_GraphOperationByName(graph, "scalar") != nullptr);
      Neg(oper, graph, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      ASSERT_TRUE(TF_GraphOperationByName(graph, "neg") != nullptr);
    
      // Export to a GraphDef.
      TF_Buffer* graph_def = TF_NewBuffer();
      TF_GraphToGraphDef(graph, graph_def, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Import it, with a prefix, in a fresh graph.
    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)
  7. tensorflow/c/eager/c_api_unified_experimental_internal.h

    // functionality of the opaque C types exposed in the public APIs defined in the
    // `c_api_unified_experimental.h` header.
    // =============================================================================
    
    // Represents either a MlirTensor or a GraphTensor.
    // This base class does not expose any public methods other than to distinguish
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Nov 13 22:20:40 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  8. tensorflow/c/eager/immediate_execution_context.h

      // Update the Eager Executor for current thread.
      virtual void SetExecutorForThread(EagerExecutor* executor) = 0;
    
      // Return a list of local tensorflow::Device*.
      // TODO(tfrt-devs): We shouldn't expose legacy device in this API.
      virtual std::vector<tensorflow::Device*> ListLocalTfDevices() = 0;
    
      // Return a list of all tensorflow::Device*.
      virtual std::vector<tensorflow::Device*> ListAllTfDevices() = 0;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  9. tensorflow/c/BUILD

            ":tf_attrtype",
            ":tf_buffer_hdrs",
            ":tf_datatype_hdrs",
            ":tf_status_headers",
            ":tf_tensor_hdrs",
            # TODO: Only include tf_tstring_hdrs. Don't expose the implementation of TF_TString to API
            # users.
            ":tf_tstring",
            "//tensorflow/core:protos_all_cc",
        ],
    )
    
    tf_cuda_library(
        name = "c_api_internal",
        hdrs = [
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_experimental.h

    TF_CAPI_EXPORT extern void TF_DeleteCheckpointReader(
        TF_CheckpointReader* reader);
    TF_CAPI_EXPORT extern int TF_CheckpointReaderHasTensor(
        TF_CheckpointReader* reader, const char* name);
    // Get the variable name at the given index
    TF_CAPI_EXPORT extern const char* TF_CheckpointReaderGetVariable(
        TF_CheckpointReader* reader, int index);
    // Get the number of variable in the checkpoint
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
Back to top