- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for type (0.14 sec)
-
tensorflow/c/eager/c_api_unified_experimental.h
// A TF_AbstractTensor is an input to an operation. E.g. it could be a union // type of eager and graph tensors. It is also the result of executing an // operation. typedef struct TF_AbstractTensor TF_AbstractTensor; // A TF_AbstractOp is the metadata we need to execute an operation. E.g. this // could contain the op type and other attributes. typedef struct TF_AbstractOp TF_AbstractOp;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:27:00 GMT 2021 - 7K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler.h
void* ext; // reserved for future use // Graph C API version. int32_t major_version; int32_t minor_version; int32_t patch_version; // Backend device type supported by the optimizer. const char* device_type; TP_OptimizerConfigs* optimizer_configs; // output, set by plugin TP_Optimizer* optimizer; // output, set by plugin } TP_OptimizerRegistrationParams;
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Aug 03 18:08:43 GMT 2022 - 12.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
// off, and an execution operation for named operations. Often execution will // simply wrap op execution on one or more physical devices. // // device_info is an opaque caller-defined type stored with the custom device // which is passed to the functions referenced in the TFE_CustomDevice struct // `device` (execute, delete_device, etc.). It can for example contain the // names of wrapped devices. //
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
tensor_stack.pop_back(); auto op_id_it = tensor_tape.find(tensor_id); if (op_id_it == tensor_tape.end()) { continue; } int64_t op_id = op_id_it->second; auto op_it = op_tape->find(op_id); auto result_op_it = result.op_tape.find(op_id); if (op_id == -1 || op_it == op_tape->end() || result_op_it != result.op_tape.end()) { continue; }
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1) -
tensorflow/c/eager/c_api_test_util.h
TFE_TensorHandle* axis); // If there is a device of type `device_type`, returns true // and sets 'device_name' accordingly. // `device_type` must be either "GPU" or "TPU". bool GetDeviceName(TFE_Context* ctx, tensorflow::string* device_name, const char* device_type); // Create a ServerDef with the given `job_name` and add `num_tasks` tasks in it.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Jul 17 23:43:59 GMT 2023 - 7.7K bytes - Viewed (0) -
tensorflow/c/c_api.h
// Length of the list if is_list is true. Undefined otherwise. int64_t list_size; // Type of elements of the list if is_list != 0. // Type of the single value stored in the attribute if is_list == 0. TF_AttrType type; // Total size the attribute value. // The units of total_size depend on is_list and type. // (1) If type == TF_ATTR_STRING and is_list == 0 // then total_size is the byte size of the string
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/c_api_experimental.h
TF_Status* status); // Information about the shape of a Tensor and its type. struct TF_ShapeAndType { // Number of dimensions. -1 indicates unknown rank. int num_dims; // Array of dimensions. -1 indicates unknown dim. int64_t* dims; // The data type. May be 0 to denote unknown type. TF_DataType dtype; }; typedef struct TF_ShapeAndType TF_ShapeAndType;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 15.1K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler_internal.h
using OwnedTFBuffer = std::unique_ptr<TF_Buffer, TFBufferDeleter>; class CGraphOptimizer : public CustomGraphOptimizer { public: explicit CGraphOptimizer(TP_Optimizer optimizer, const char* device_type) : optimizer_(optimizer), device_type_(device_type) { if (optimizer.create_func != nullptr) { c_optimizer_ = (*optimizer_.create_func)(); } else { c_optimizer_ = nullptr; } }
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Jun 08 08:58:23 GMT 2022 - 3.5K bytes - Viewed (1) -
tensorflow/c/c_test.c
// A create function. This will never actually get called in this test, it's // just nice to know that it compiles. void* create(TF_OpKernelConstruction* ctx) { 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.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Apr 24 20:50:35 GMT 2024 - 2.8K bytes - Viewed (0) -
tensorflow/c/c_api_macros.h
#endif // TF_Bool // Macro used to calculate struct size for maintaining ABI stability across // different struct implementations. #ifndef TF_OFFSET_OF_END #define TF_OFFSET_OF_END(TYPE, MEMBER) \ (offsetof(TYPE, MEMBER) + sizeof(((TYPE *)0)->MEMBER)) #endif // TF_OFFSET_OF_END
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sat May 13 04:44:45 GMT 2023 - 1.6K bytes - Viewed (1)