Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 121 for API (0.17 sec)

  1. tensorflow/c/eager/c_api.h

    #ifndef TENSORFLOW_C_EAGER_C_API_H_
    #define TENSORFLOW_C_EAGER_C_API_H_
    
    // C API extensions to experiment with eager execution of kernels.
    // WARNING: Unlike tensorflow/c/c_api.h, the API here is not guaranteed to be
    // stable and can change without notice.
    
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/c_api_macros.h"
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  2. tensorflow/c/c_api.cc

      return nullptr;
    #else
      mutex_lock l(api_def_map->lock);
      if (!api_def_map->update_docs_called) {
        api_def_map->api_def_map.UpdateDocs();
        api_def_map->update_docs_called = true;
      }
      string name_str(name, name_len);
      const auto* api_def = api_def_map->api_def_map.GetApiDef(name_str);
      if (api_def == nullptr) {
        return nullptr;
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/next_pluggable_device/c_api.cc

      absl::StatusOr<xla::PjRtCApiClient*> pjrt_c_api_client =
          tensorflow::GetPjRtCApiClient(tensorflow::DeviceType(device_type));
      if (!pjrt_c_api_client.ok()) {
        status->status = pjrt_c_api_client.status();
        return nullptr;
      }
      status->status = absl::OkStatus();
      return (*pjrt_c_api_client)->pjrt_c_client();
    }
    
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
  4. tensorflow/c/c_api.h

    // C API for TensorFlow.
    //
    // The API leans towards simplicity and uniformity instead of convenience
    // since most usage will be by language specific wrappers.
    //
    // Conventions:
    // * We use the prefix TF_ for everything in the API.
    // * Objects are always passed around as pointers to opaque structs
    //   and these structs are allocated/deallocated via the API.
    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)
  5. tensorflow/c/experimental/next_pluggable_device/c_api.h

    #ifndef TENSORFLOW_C_EXPERIMENTAL_NEXT_PLUGGABLE_DEVICE_C_API_H_
    #define TENSORFLOW_C_EXPERIMENTAL_NEXT_PLUGGABLE_DEVICE_C_API_H_
    
    #include <cstdint>
    
    #include "tensorflow/c/c_api_macros.h"
    #include "tensorflow/c/kernels.h"
    #include "tensorflow/c/kernels_experimental.h"
    #include "tensorflow/c/tf_buffer.h"
    #include "tensorflow/c/tf_status.h"
    #include "xla/pjrt/c/pjrt_c_api.h"
    
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  6. tensorflow/c/eager/unified_api_testutil.h

    #ifndef TENSORFLOW_C_EAGER_UNIFIED_API_TESTUTIL_H_
    #define TENSORFLOW_C_EAGER_UNIFIED_API_TESTUTIL_H_
    
    #include "tensorflow/c/eager/abstract_context.h"
    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    #include "tensorflow/c/eager/c_api_test_util.h"
    #include "tensorflow/c/eager/c_api_unified_experimental.h"
    #include "tensorflow/c/eager/c_api_unified_experimental_internal.h"
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_macros.h

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    #ifndef TENSORFLOW_C_C_API_MACROS_H_
    #define 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
    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)
  8. tensorflow/c/c_api_internal.h

    limitations under the License.
    ==============================================================================*/
    
    #ifndef TENSORFLOW_C_C_API_INTERNAL_H_
    #define TENSORFLOW_C_C_API_INTERNAL_H_
    
    #include <list>
    #include <set>
    #include <string>
    #include <unordered_map>
    #include <vector>
    
    #include "tensorflow/c/c_api.h"
    
    // clang-format off
    // Required for IS_MOBILE_PLATFORM
    #include "tensorflow/core/platform/platform.h"
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_debug.cc

    limitations under the License.
    ==============================================================================*/
    
    #include <vector>
    
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/tfe_tensor_debug_info_internal.h"
    #include "tensorflow/c/eager/tfe_tensorhandle_internal.h"
    #include "tensorflow/c/tf_status_internal.h"
    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)
  10. tensorflow/c/c_api_test.cc

      TF_DeleteStatus(status);
    
      tensorflow::ApiDef api_def;
      EXPECT_TRUE(api_def.ParseFromArray(api_def_buf->data, api_def_buf->length));
      EXPECT_EQ(op_name, api_def.graph_op_name());
      EXPECT_EQ(R"doc(Used to test C API)doc", api_def.summary());
    
      TF_DeleteBuffer(api_def_buf);
      TF_DeleteApiDefMap(api_def_map);
      TF_DeleteBuffer(op_list_buf);
    }
    
    TEST(TestApiDef, TestCreateApiDefWithOverwrites) {
    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)
Back to top