Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for struct (0.3 sec)

  1. tensorflow/c/eager/tfe_monitoring_internal.h

    };
    
    struct TFE_MonitoringCounter0 : TFE_MonitoringCounter<0> {
      using TFE_MonitoringCounter::TFE_MonitoringCounter;
    };
    struct TFE_MonitoringCounter1 : TFE_MonitoringCounter<1> {
      using TFE_MonitoringCounter::TFE_MonitoringCounter;
    };
    struct TFE_MonitoringCounter2 : TFE_MonitoringCounter<2> {
      using TFE_MonitoringCounter::TFE_MonitoringCounter;
    };
    
    struct TFE_MonitoringIntGaugeCell {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_macros_internal.h

    // Macro to verify that the field `struct_size` of STRUCT_OBJ is initialized.
    // `struct_size` is used for struct member compatibility check between core TF
    // and plug-ins with the same C API minor version. More info here:
    // https://github.com/tensorflow/community/blob/master/rfcs/20200612-stream-executor-c-api/C_API_versioning_strategy.md
    #define TF_VALIDATE_STRUCT_SIZE(STRUCT_NAME, STRUCT_OBJ, SIZE_VALUE_NAME) \
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Mar 13 17:40:56 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  3. tensorflow/c/eager/tfe_op_attrs_internal.h

    #include "tensorflow/core/framework/attr_value.pb.h"
    
    // An equivalent of a tensorflow::NameAttrList protocol buffer, but used in ways
    // that sometimes do not require serialization.
    typedef struct TFE_OpAttrs TFE_OpAttrs;
    
    typedef struct TFE_Context TFE_Context;
    typedef struct TFE_Op TFE_Op;
    
    namespace tensorflow {
    DEFINE_CONVERSION_FUNCTIONS(tensorflow::AbstractOpAttrs, TFE_OpAttrs);
    
    // Set an AttrValue on the op. Doesn't handle the list types.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 10 05:41:19 GMT 2021
    - 1.6K bytes
    - Viewed (0)
  4. tensorflow/c/eager/tfe_cancellation_manager_internal.h

    #define TENSORFLOW_C_EAGER_TFE_CANCELLATION_MANAGER_INTERNAL_H_
    
    #include "tensorflow/c/conversion_macros.h"
    #include "tensorflow/core/framework/cancellation.h"
    
    struct TFE_CancellationManager;
    typedef struct TFE_CancellationManager TFE_CancellationManager;
    
    namespace tensorflow {
    DEFINE_CONVERSION_FUNCTIONS(tensorflow::CancellationManager,
                                TFE_CancellationManager);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 02 18:56:02 GMT 2021
    - 1.3K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

    diff --git a/iconv/gconv.h b/iconv/gconv.h
    index 3f9112e..8e60197 100644
    --- a/iconv/gconv.h
    +++ b/iconv/gconv.h
    @@ -174,7 +174,7 @@ typedef struct __gconv_info
     {
       size_t __nsteps;
       struct __gconv_step *__steps;
    -  __extension__ struct __gconv_step_data __data __flexarr;
    +  __extension__ struct __gconv_step_data __data[0];
     } *__gconv_t;
     
     #endif /* gconv.h */
    diff --git a/include/libc-symbols.h b/include/libc-symbols.h
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_helper.cc

      close(src_fd);
      close(dst_fd);
      if (error_code != 0) {
        errno = error_code;
        return -1;
      } else {
        return 0;
      }
    }
    
    int RemoveSpecialDirectoryEntries(const struct dirent* entry) {
      return strcmp(entry->d_name, ".") != 0 && strcmp(entry->d_name, "..") != 0;
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jan 16 05:36:52 GMT 2020
    - 2.1K bytes
    - Viewed (1)
  7. tensorflow/c/eager/c_api.h

    // stable and can change without notice.
    
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/c_api_macros.h"
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    typedef struct TFE_ContextOptions TFE_ContextOptions;
    
    // Return a new options object.
    TF_CAPI_EXPORT extern TFE_ContextOptions* TFE_NewContextOptions(void);
    
    // Set the config in TF_ContextOptions.options.
    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)
  8. tensorflow/c/c_test.c

      TF_GetInput(ctx, 0, &input, s);
      TF_DeleteTensor(input);
      TF_DeleteStatus(s);
    }
    
    // Exercises tensorflow's C API.
    int main(int argc, char** argv) {
      TF_InitMain(argv[0], &argc, &argv);
    
      struct TF_StringStream* s = TF_GetLocalTempDirectories();
      const char* path;
    
      if (!TF_StringStreamNext(s, &path)) {
        fprintf(stderr, "TF_GetLocalTempDirectories returned no results\n");
        return 1;
      }
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_internal.h

    // Internal structures used by the C API. These are likely to change and should
    // not be depended on.
    
    struct TF_SessionOptions {
      tensorflow::SessionOptions options;
    };
    
    struct TF_DeprecatedSession {
      tensorflow::Session* session;
    };
    
    struct TF_Library {
      void* lib_handle;
      TF_Buffer op_list;
    };
    
    struct TF_Graph {
      TF_Graph();
    
      mutable tensorflow::mutex mu;
      tensorflow::Graph graph TF_GUARDED_BY(mu);
    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)
  10. tensorflow/c/eager/abstract_operation.h

      }
      return SetAttrStringList(attr_name,
                               reinterpret_cast<const void**>(raw_strs.data()),
                               lengths.data(), values.size());
    }
    
    namespace internal {
    struct AbstractOperationDeleter {
      void operator()(AbstractOperation* p) const {
        if (p != nullptr) {
          p->Release();
        }
      }
    };
    }  // namespace internal
    
    using AbstractOperationPtr =
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
Back to top