Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 207 for cc_status (0.8 sec)

  1. tensorflow/c/experimental/saved_model/public/concrete_function.h

    // TF_Value* TF_ExecuteFunction(TFE_Context*, TF_ConcreteFunction*, TF_Value*
    // inputs, int num_inputs, TF_Status* status);
    TF_CAPI_EXPORT extern TFE_Op* TF_ConcreteFunctionMakeCallOp(
        TF_ConcreteFunction* func, TFE_TensorHandle** inputs, int num_inputs,
        TF_Status* status);
    
    #ifdef __cplusplus
    }  // end extern "C"
    #endif  // __cplusplus
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 27 06:55:27 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_test.cc

    #include "tensorflow/c/eager/c_api_test_util.h"
    #include "tensorflow/c/eager/tfe_op_internal.h"
    #include "tensorflow/c/eager/tfe_tensorhandle_internal.h"
    #include "tensorflow/c/tf_datatype.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/c/tf_tensor.h"
    #include "tensorflow/core/common_runtime/eager/eager_operation.h"
    #include "tensorflow/core/common_runtime/eager/tensor_handle.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/pjrt_device_context.cc

      if (!c_api_client.ok()) {
        done(c_api_client.status());
        return;
      }
    
      TSL_Status c_status;
      PJRT_Buffer* dst_buffer = TfnpdApi()->TFNPD_SameDevicePjRtBufferCopy(
          *c_src_buffer, (*c_api_client)->pjrt_c_client(), &c_status);
      if (!c_status.status.ok()) {
        done(c_status.status);
        return;
      }
    
      auto set_c_buffer_status =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:49:31 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/grappler/grappler_internal.h

                                        TF_Status* const);
    
    // Registers Graph optimizers.
    Status InitGraphPlugin(void* dso_handle);
    
    // Allow registering a graph optimizer using a function (used for
    // testing).
    Status InitGraphPlugin(TFInitGraphPluginFn init_fn);
    
    struct GrapplerItem;
    class Cluster;
    
    struct TFStatusDeleter {
      void operator()(TF_Status* s) const { TF_DeleteStatus(s); }
    };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 08 08:58:23 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  5. tensorflow/c/eager/dlpack.h

    TF_CAPI_EXPORT extern void* TFE_HandleToDLPack(TFE_TensorHandle* h,
                                                   TF_Status* status);
    
    // Converts DLPack (DLManagedTensor*) to eager tensor handle.
    TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_HandleFromDLPack(void* dlm,
                                                                 TF_Status* status,
                                                                 TFE_Context* ctx);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Mar 28 08:41:24 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  6. tensorflow/c/c_test.c

      TF_DataType type;
      TF_Status* s = TF_NewStatus();
      TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s);
      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);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:50:35 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. tensorflow/c/eager/tfe_op_attrs_internal.h

    #ifndef TENSORFLOW_C_EAGER_TFE_OP_ATTRS_INTERNAL_H_
    #define TENSORFLOW_C_EAGER_TFE_OP_ATTRS_INTERNAL_H_
    
    #include "tensorflow/c/conversion_macros.h"
    #include "tensorflow/c/eager/abstract_op_attrs.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/core/framework/attr_value.pb.h"
    
    // An equivalent of a tensorflow::NameAttrList protocol buffer, but used in ways
    // that sometimes do not require serialization.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 10 05:41:19 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_debug_test.cc

    #include <string.h>
    #include "tensorflow/c/eager/c_api_test_util.h"
    #include "tensorflow/core/platform/logging.h"
    #include "tensorflow/core/platform/test.h"
    
    TEST(CApiDebug, ScalarCPU) {
      TF_Status* status = TF_NewStatus();
      TFE_ContextOptions* opts = TFE_NewContextOptions();
      TFE_Context* ctx = TFE_NewContext(opts, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_DeleteContextOptions(opts);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 06 22:10:09 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_unified_experimental_test.cc

      TF_DeleteAbstractFunction(func);
    
      TF_DeleteExecutionContext(eager_execution_ctx);
    }
    
    TEST_P(UnifiedCAPI, TestMultiOutputGraph) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      TF_Status* s = status.get();
    
      // Start a new function / execution context.
      string fn_name = "two_adds";
      TF_ExecutionContext* graph_ctx = TF_CreateFunction(fn_name.c_str(), s);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 21:44:52 UTC 2023
    - 39.1K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/pluggable_profiler/pluggable_profiler_internal.h

    namespace tensorflow {
    namespace profiler {
    
    // Plugin initialization function that a device plugin must define. Returns
    // a TF_Status output specifying whether the initialization is successful.
    using TFInitProfilerFn = void (*)(TF_ProfilerRegistrationParams* const,
                                      TF_Status* const);
    
    // Registers plugin's profiler to TensorFlow's profiler registry.
    Status InitPluginProfiler(TFInitProfilerFn init_fn);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top