Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for interfaces (0.2 sec)

  1. tensorflow/c/experimental/filesystem/plugins/windows/windows_filesystem.cc

    limitations under the License.
    ==============================================================================*/
    #include <stdlib.h>
    #include <string.h>
    
    #include "tensorflow/c/experimental/filesystem/filesystem_interface.h"
    #include "tensorflow/c/tf_status.h"
    
    // Implementation of a filesystem for POSIX environments.
    // This filesystem will support `file://` and empty (local) URI schemes.
    
    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)
  2. tensorflow/c/c_api.cc

        }
        *dst = tensorflow::Tensor(tensorflow::DT_RESOURCE, dst->shape());
        if (!dst->scalar<tensorflow::ResourceHandle>()().ParseFromString(
                string(static_cast<const char*>(tensor_interface->Data()),
                       tensor_interface->ByteSize()))) {
          return InvalidArgument(
              "Malformed TF_RESOURCE tensor: unable to parse resource handle");
        }
        return absl::OkStatus();
      }
      return absl::OkStatus();
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_static.cc

    limitations under the License.
    ==============================================================================*/
    
    #include "absl/log/log.h"
    #include "tensorflow/c/experimental/filesystem/filesystem_interface.h"
    #include "tensorflow/c/experimental/filesystem/modular_filesystem_registration.h"
    #include "tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.h"
    #include "tensorflow/core/platform/status.h"
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/grappler/grappler.cc

    // This file extends/implements core graph optimizer base classes in terms of
    // the C API defined in grappler.h. A class "CSomething" represents a
    // "Something" that can be manipulated via calls in the C interface and a C
    // struct called "TP_Something".
    
    #include "tensorflow/c/experimental/grappler/grappler.h"
    
    #include <algorithm>
    #include <cstddef>
    #include <cstring>
    #include <string>
    #include <unordered_map>
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  5. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

    #include <stdint.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <sys/mman.h>
    #include <sys/stat.h>
    #include <unistd.h>
    
    #include "tensorflow/c/experimental/filesystem/filesystem_interface.h"
    #include "tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_helper.h"
    #include "tensorflow/c/tf_file_statistics.h"
    #include "tensorflow/c/tf_status.h"
    
    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)
  6. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    // undefine them here.
    #undef CopyFile
    #undef DeleteFile
    #undef TranslateName
    #endif  // defined(PLATFORM_WINDOWS)
    
    // The tests defined here test the compliance of filesystems with the API
    // defined by `filesystem_interface.h`.
    //
    // As some filesystems require special setup, these tests are run manually.
    //
    // Each filesystem implementation can be provided by DSOs, so we provide the
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api.cc

                             TF_Status* status) {
      tensorflow::Tensor t;
      status->status = TF_TensorToTensor(tensor, &t);
      tensorflow::TensorInterface interface(t);
      status->status = tensorflow::unwrap(op)->SetAttrTensor(attr_name, &interface);
    }
    
    void TFE_OpSetAttrStringList(TFE_Op* op, const char* attr_name,
                                 const void* const* values, const size_t* lengths,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
Back to top