Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for macosx (0.22 sec)

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

                        char* buffer, TF_Status* status) {
      auto posix_file = static_cast<PosixFile*>(file->plugin_file);
      char* dst = buffer;
      int64_t read = 0;
    
      while (n > 0) {
        // Some platforms, notably macs, throw `EINVAL` if `pread` is asked to read
        // more than fits in a 32-bit integer.
        size_t requested_read_length;
        if (n > INT32_MAX)
          requested_read_length = INT32_MAX;
        else
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    // Make mkdir resolve to _mkdir to create the test temporary directory.
    #include <direct.h>
    #define mkdir(name, mode) _mkdir(name)
    
    // Windows defines the following macros to convert foo to fooA or fooW,
    // depending on the type of the string argument. We don't use these macros, so
    // undefine them here.
    #undef CopyFile
    #undef DeleteFile
    #undef TranslateName
    #endif  // defined(PLATFORM_WINDOWS)
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

            ::tensorflow::strings::StrCat("name", counter_++).c_str());
      }
    
      TF_Status* s_;
    
     private:
      TF_Graph* graph_;
      int counter_;
    };
    
    // Helper macros for the TF_OperationGetAttr* tests.
    // TODO(ashankar): Use gmock matchers instead?
    // (https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#writing-new-parameterized-matchers-quickly)
    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)
  4. tensorflow/c/eager/c_api_test.cc

    #include "tensorflow/core/framework/function.pb.h"
    #include "tensorflow/core/platform/casts.h"
    #include "tensorflow/core/platform/env.h"
    #include "tensorflow/core/platform/logging.h"
    #include "tensorflow/core/platform/macros.h"
    #include "tensorflow/core/platform/protobuf.h"
    #include "tensorflow/core/platform/strcat.h"
    #include "tensorflow/core/platform/test.h"
    #include "tensorflow/core/platform/test_benchmark.h"
    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)
  5. tensorflow/c/env.cc

    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/c/env.h"
    
    #include "tensorflow/c/c_api_macros.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/core/platform/env.h"
    #include "tensorflow/core/platform/path.h"
    #include "tensorflow/core/platform/types.h"
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 7K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/grappler/grappler.cc

    #include <algorithm>
    #include <cstddef>
    #include <cstring>
    #include <string>
    #include <unordered_map>
    #include <unordered_set>
    #include <vector>
    
    #include "absl/status/status.h"
    #include "tensorflow/c/c_api_macros.h"
    #include "tensorflow/c/experimental/grappler/grappler_internal.h"
    #include "tensorflow/c/tf_buffer.h"
    #include "tensorflow/c/tf_buffer_internal.h"
    #include "tensorflow/c/tf_status.h"
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
Back to top