Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for bundle (0.19 sec)

  1. tensorflow/c/c_api.cc

      if (!status->status.ok()) {
        delete lib_handle;
        return nullptr;
      }
      return lib_handle;
    }
    
    TF_Buffer TF_GetOpList(TF_Library* lib_handle) { return lib_handle->op_list; }
    
    void TF_DeleteLibraryHandle(TF_Library* lib_handle) {
      if (lib_handle == nullptr) return;
      tensorflow::port::Free(const_cast<void*>(lib_handle->op_list.data));
      delete lib_handle;
    }
    
    TF_Buffer* TF_GetAllOpList() {
    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)
  2. tensorflow/c/checkpoint_reader.cc

    #include "tensorflow/core/platform/stringpiece.h"
    #include "tensorflow/core/platform/types.h"
    #include "tensorflow/core/util/saved_tensor_slice_util.h"
    #include "tensorflow/core/util/tensor_bundle/naming.h"
    #include "tensorflow/core/util/tensor_bundle/tensor_bundle.h"
    
    namespace tensorflow {
    namespace checkpoint {
    
    class TensorSliceReader;
    
    CheckpointReader::CheckpointReader(const string& filename, TF_Status* status)
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  3. tensorflow/c/checkpoint_reader.h

    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/platform/status.h"
    #include "tensorflow/core/platform/types.h"
    #include "tensorflow/core/util/tensor_bundle/tensor_bundle.h"
    #include "tensorflow/core/util/tensor_slice_reader.h"
    
    namespace tensorflow {
    namespace checkpoint {
    
    class TensorSliceReader;
    
    // A wrapper around BundleReader (for V2 checkpoints) and
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  4. tensorflow/c/eager/dlpack_test.cc

      dltensor_in->strides = strides.data();
      TFE_TensorHandle* handle = TFE_HandleFromDLPack(&dlm_in, status, ctx);
      ASSERT_NE(handle, nullptr)
          << TF_Message(status) << " (shape=[" << absl::StrJoin(shape, ",")
          << "], strides=[" << absl::StrJoin(strides, ",") << "])";
    
      auto* dlm_out =
          static_cast<DLManagedTensor*>(TFE_HandleToDLPack(handle, status));
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jun 30 03:04:46 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/gradients/nn_grad.cc

    #include "tensorflow/c/experimental/gradients/nn_grad.h"
    
    #include "absl/types/span.h"
    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    #include "tensorflow/c/eager/immediate_execution_context.h"
    #include "tensorflow/c/eager/immediate_execution_tensor_handle.h"
    #include "tensorflow/c/experimental/ops/array_ops.h"
    #include "tensorflow/c/experimental/ops/math_ops.h"
    #include "tensorflow/c/experimental/ops/nn_ops.h"
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api.h

    // If source and destination are the same device, then this creates a new handle
    // that shares the underlying buffer. Otherwise, it currently requires at least
    // one of the source or destination devices to be CPU (i.e., for the source or
    // destination tensor to be placed in host memory).
    // If async execution is enabled, the copy may be enqueued and the call will
    // return "non-ready" handle. Else, this function returns after the copy has
    // been done.
    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)
  7. tensorflow/c/eager/tfe_op_attrs_internal.h

    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.
    void SetOpAttrValueScalar(TFE_Context* ctx, TFE_Op* op,
                              const tensorflow::AttrValue& default_value,
                              const char* attr_name, TF_Status* status);
    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/eager/abstract_operation.h

    #ifndef TENSORFLOW_C_EAGER_ABSTRACT_OPERATION_H_
    #define TENSORFLOW_C_EAGER_ABSTRACT_OPERATION_H_
    
    #include <memory>
    
    #include "absl/types/span.h"
    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    #include "tensorflow/c/tensor_interface.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    
    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)
  9. tensorflow/c/eager/abstract_tensor_handle.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    
    namespace tensorflow {
    
    std::string AbstractTensorHandle::DebugString() const {
      PartialTensorShape shape;
      Status s = Shape(&shape);
      std::string shape_string;
      if (!s.ok()) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

      // indication of the dtype of the variable's value.
      //
      // Note that creating this resource-dtype handle can fail, so `Create` is a
      // separate static method which returns a status.
      Variable(TFE_TensorHandle* handle, TF_DataType type)
          : handle_(handle), type_(type) {}
    
      // Helper for constructing a resource handle and wrapping it in a `Variable`
      // object.
      static Variable* Create(TFE_Context* context, TF_DataType type,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
Back to top