Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Scharf (0.18 sec)

  1. tensorflow/c/eager/abstract_operation.h

      virtual Status SetAttrFloat(const char* attr_name, float value) = 0;
      virtual Status SetAttrBool(const char* attr_name, bool value) = 0;
      virtual Status SetAttrType(const char* attr_name, DataType value) = 0;
      virtual Status SetAttrShape(const char* attr_name, const int64_t* dims,
                                  const int num_dims) = 0;
      virtual Status SetAttrShape(const char* attr_name,
    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)
  2. tensorflow/c/eager/tfe_monitoring_internal.h

    struct TFE_MonitoringCounterCell {
      tensorflow::monitoring::CounterCell cell;
    };
    
    template <int NumLabels>
    struct TFE_MonitoringCounter {
      template <typename... LabelDesc>
      TFE_MonitoringCounter(const char* name, const char* description,
                            LabelDesc&&... label) {
        counter = absl::WrapUnique(tensorflow::monitoring::Counter<NumLabels>::New(
            name, description, label...));
      }
    
    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)
  3. tensorflow/c/eager/c_api_unified_experimental.cc

      for (const auto& factory : GetFactories())
        factories_sorted.insert(factory.first);
      const char* comma = "";
      for (const string& factory : factories_sorted) {
        msg += comma + factory;
        comma = ", ";
      }
      msg += ")";
    
      return errors::InvalidArgument(msg.c_str());
    }
    
    static TracingContext* CreateTracingExecutionContext(const char* fn_name,
                                                         TF_Status* s) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. tensorflow/c/c_test.c

    }
    
    // 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;
      }
    
      char file_name[100];
      time_t t = time(NULL);
    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)
  5. tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc

      EXPECT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    
      const char* first_device = "/job:worker/replica:0/task:1/device:CPU:0";
      const char* second_device = "/job:worker/replica:0/task:2/device:CPU:0";
      const char* device_name = "/job:localhost/replica:0/task:0/device:CUSTOM:0";
      std::array<const char*, 2> underlying_devices{first_device, second_device};
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 22:09:57 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_helper.cc

    #include <stdlib.h>
    #include <string.h>
    #include <unistd.h>
    
    #include "tensorflow/c/experimental/filesystem/plugins/posix/copy_file.h"
    
    namespace tf_posix_filesystem {
    
    int TransferFileContents(const char* src, const char* dst, mode_t mode,
                             off_t size) {
      int src_fd = open(src, O_RDONLY);
      if (src_fd < 0) return -1;
    
      // When creating file, use the same permissions as original
    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/tfe_op_attrs_internal.h

    // Set an AttrValue on the op. Doesn't handle the list types.
    void SetOpAttrValueScalar(TFE_Context* ctx, TFE_Op* op,
                              const tensorflow::AttrValue& default_value,
                              const char* attr_name, TF_Status* status);
    }  // namespace tensorflow
    
    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)
  8. tensorflow/c/experimental/filesystem/plugins/windows/windows_filesystem.cc

    namespace tf_windows_filesystem {
    
    // TODO(b/139060984): Implement later
    
    }  // namespace tf_windows_filesystem
    
    static void ProvideFilesystemSupportFor(TF_FilesystemPluginOps* ops,
                                            const char* uri) {
      TF_SetFilesystemVersionMetadata(ops);
      ops->scheme = strdup(uri);
    }
    
    void TF_InitPlugin(TF_FilesystemPluginInfo* info) {
      info->plugin_memory_allocate = plugin_memory_allocate;
    C++
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:21:15 GMT 2022
    - 2.6K bytes
    - Viewed (0)
  9. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

    index 45efe2e..06bfab0 100644
    --- a/stdlib/setenv.c
    +++ b/stdlib/setenv.c
    @@ -319,6 +319,7 @@ unsetenv (const char *name)
     
       ep = __environ;
       if (ep != NULL)
    +  {
         while (*ep != NULL)
           if (!strncmp (*ep, name, len) && (*ep)[len] == '=')
     	{
    @@ -332,6 +333,7 @@ unsetenv (const char *name)
     	}
           else
     	++ep;
    +  }
     
       UNLOCK;
     
    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)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

                   TF_Status* status);
    int GetChildren(const TF_Filesystem* filesystem, const char* path,
                    char*** entries, TF_Status* status);
    void DeleteFile(const TF_Filesystem* filesystem, const char* path,
                    TF_Status* status);
    void Stat(const TF_Filesystem* filesystem, const char* path,
              TF_FileStatistics* stats, TF_Status* status);
    void DeleteDir(const TF_Filesystem* filesystem, const char* path,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:37:41 GMT 2020
    - 5.2K bytes
    - Viewed (0)
Back to top