Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 95 for tftensor$ (0.23 sec)

  1. tensorflow/c/c_api.h

                                                         TF_Tensor** value,
                                                         TF_Status* status);
    
    // Fills in `values` with the TF_Tensor values of the attribute `attr_name` of
    // `oper`. `values` must point to an array of TF_Tensor* of length at least
    // `max_values` (ideally set to TF_AttrMetadata.list_size from
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  2. tensorflow/c/tf_tstring.h

    ==============================================================================*/
    #ifndef TENSORFLOW_C_TF_TSTRING_H_
    #define TENSORFLOW_C_TF_TSTRING_H_
    
    #include "tensorflow/c/c_api_macros.h"
    #include "tensorflow/c/tf_tensor.h"
    #include "tensorflow/core/platform/ctstring.h"
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    TF_CAPI_EXPORT extern void TF_StringInit(TF_TString *t);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental.cc

    }
    
    namespace tensorflow {
    Status TF_TensorToTensor(const TF_Tensor* src, Tensor* dst);
    
    // Helpers for loadding a TensorFlow PluggableDevice plugin (a .so file).
    Status LoadPluggableDeviceLibrary(const char* library_filename, void** result);
    }  // namespace tensorflow
    
    void TFE_InferShapes(TFE_Op* tfe_op, TF_ShapeAndTypeList* input_shapes,
                         TF_Tensor** input_tensors,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  4. tensorflow/c/eager/gradient_checker_test.cc

    #include "tensorflow/c/eager/c_api_unified_experimental.h"
    #include "tensorflow/c/eager/unified_api_testutil.h"
    #include "tensorflow/c/experimental/ops/math_ops.h"
    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/c/tf_tensor.h"
    #include "tensorflow/core/platform/tensor_float_32_utils.h"
    #include "tensorflow/core/platform/test.h"
    
    namespace tensorflow {
    namespace gradients {
    namespace internal {
    namespace {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 10:03:59 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_experimental.h

    // empty, this call is blocked.
    //
    // Tensors are enqueued via the corresponding TF enqueue op.
    // TODO(hongm): Add support for `timeout_ms`.
    TF_CAPI_EXPORT extern TF_Tensor* TF_DequeueNamedTensor(TF_Session* session,
                                                           int tensor_id,
                                                           TF_Status* status);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_experimental_test.cc

            /*in_flight_nodes_limit=*/0);
        TFE_ContextSetExecutorForThread(ctx, executor);
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
        TF_Tensor* t =
            TF_AllocateTensor(TF_INT32, nullptr, 0, 1 * sizeof(tensorflow::int32));
        *reinterpret_cast<tensorflow::int32*>(TF_TensorData(t)) = 42;
        TFE_TensorHandle* h = TFE_NewTensorHandle(t, status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 03:14:26 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.h

    class TFTensorType
        : public mlir::Type::TypeBase<TFTensorType, mlir::Type, mlir::TypeStorage> {
     public:
      using Base::Base;
      static constexpr mlir::StringLiteral name = "tensorflow.tf_mlrt.tf_tensor";
    };
    
    // The MLIR type represents a tensorflow::Device*
    class TFDeviceType
        : public mlir::Type::TypeBase<TFDeviceType, mlir::Type, mlir::TypeStorage> {
     public:
      using Base::Base;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 07:17:01 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

        CPred<"$_self.isa<mlir::TFR::" # name # "Type>()">,
        "TFR " # name #" type">,
        BuildableType<"$_builder.getType<mlir::TFR::" # name # "Type>()">;
    def TFR_TensorType : TFR_Type<"TFRTensor">;
    def TFR_TensorListType : TFR_Type<"TFRTensorList">;
    def TFR_AllTensorTypes : Type<Or<[
        TFR_TensorType.predicate,
        TFR_TensorListType.predicate]>, "all tensor related types">;
    
    // attribute argument types
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  9. tensorflow/c/c_test.c

      TF_DeleteStatus(s);
      return NULL;
    }
    
    // A compute function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    void compute(void* kernel, TF_OpKernelContext* ctx) {
      TF_Tensor* input;
      TF_Status* s = TF_NewStatus();
      TF_GetInput(ctx, 0, &input, s);
      TF_DeleteTensor(input);
      TF_DeleteStatus(s);
    }
    
    // Exercises tensorflow's C API.
    int main(int argc, char** argv) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:50:35 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_remote_test.cc

      TFE_TensorHandle* retvals[1];
      int num_retvals = 1;
      TFE_Execute(matmul, &retvals[0], &num_retvals, status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      TF_Tensor* t = TFE_TensorHandleResolve(retvals[0], status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      float product[4] = {0};
      EXPECT_EQ(sizeof(product), TF_TensorByteSize(t));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 12 00:14:22 UTC 2020
    - 5.4K bytes
    - Viewed (0)
Back to top