- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 91 for cc_status (1.2 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
tensorflow/c/eager/c_api_experimental_reader_test.cc
IncrementCounter1(counter, label_name); int64_t actual = TFE_MonitoringReadCounter1(reader, label_name); CHECK_EQ(actual, 1); } TFE_MonitoringCounter0* CreateCounter0(const char* counter_name) { TF_Status* status = TF_NewStatus(); auto* counter = TFE_MonitoringNewCounter0(counter_name, status, "description"); TF_DeleteStatus(status); return counter; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 20 03:14:47 UTC 2023 - 2.9K bytes - Viewed (0) -
tensorflow/c/kernels/summary_op.cc
#include <sstream> #include <string> #include "unsupported/Eigen/CXX11/Tensor" // from @eigen_archive #include "tensorflow/c/kernels.h" #include "tensorflow/c/kernels/tensor_shape_utils.h" #include "tensorflow/c/tf_status.h" #include "tensorflow/c/tf_tensor.h" #include "tensorflow/core/framework/registration/registration.h" #include "tensorflow/core/framework/summary.pb.h" #include "tensorflow/core/framework/types.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 6.2K bytes - Viewed (0) -
tensorflow/c/kernels/bitcast_op.cc
TF_DataType output_data_type; size_t in_size; size_t out_size; } BitcastOp; static void* BitcastOp_Create(TF_OpKernelConstruction* ctx) { auto* kernel = new BitcastOp; TF_Status* s = TF_NewStatus(); TF_OpKernelConstruction_GetAttrType(ctx, "T", &kernel->input_data_type, s); if (TF_GetCode(s) == TF_OK) { TF_OpKernelConstruction_GetAttrType(ctx, "type", &kernel->output_data_type,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 31 03:28:11 UTC 2021 - 5.9K bytes - Viewed (0)