- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for attribute (0.18 sec)
-
tensorflow/c/c_api.h
// TF_AttrMetadata describes the value of an attribute on an operation. typedef struct TF_AttrMetadata { // A boolean: 1 if the attribute value is a list, 0 otherwise. unsigned char is_list; // 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;
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/eager/c_api_experimental.h
// APIs for generically dealing with op attributes (e.g. when forwarding them // through custom device implementations). // // TODO(allenl): Currently these are black boxes, but we should have some way to // inspect values. This would let people e.g. copy over most attributes and then // modify some based on their values. // A reference to an op's name -> attribute mapping typedef struct TFE_OpAttrs TFE_OpAttrs;
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/c_api_experimental.h
// needs to be updated with the argument length of the input list. // Returns nullptr if there is any problem like op_name is not found, or the // argument does not support this attribute type. TF_CAPI_EXPORT extern const char* TF_GetNumberAttrForOpListInput( const char* op_name, int input_index, TF_Status* status); // Returns 1 if the op is stateful, 0 otherwise. The return value is undefined
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/eager/c_api.h
// Removes a function from the context. Once removed, you can no longer // TFE_Execute it or TFE_Execute any TFE_Op which has it as an attribute or any // other function which calls it as an attribute. TF_CAPI_EXPORT extern void TFE_ContextRemoveFunction(TFE_Context* ctx, const char* name,
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) -
tensorflow/c/eager/immediate_execution_operation.h
#include "tensorflow/c/eager/immediate_execution_tensor_handle.h" #include "tensorflow/c/tensor_interface.h" #include "tensorflow/core/framework/cancellation.h" #include "tensorflow/core/framework/device_attributes.pb.h" #include "tensorflow/core/framework/op_def.pb.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/platform/casts.h" #include "tensorflow/core/platform/status.h"
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 26 22:40:32 GMT 2022 - 3.6K bytes - Viewed (0) -
tensorflow/c/c_api_macros.h
#else #define TF_CAPI_EXPORT __declspec(dllimport) #endif // TF_COMPILE_LIBRARY #else #ifdef TF_CAPI_WEAK #define TF_CAPI_EXPORT \ __attribute__((visibility("default"))) __attribute((weak)) #else #define TF_CAPI_EXPORT __attribute__((visibility("default"))) #endif // TF_CAPI_WEAK #endif // _WIN32 #endif // SWIG // TF_Bool is the C API typedef for unsigned char, while TF_BOOL is
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) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
// its corresponding inputs from the input ParallelTensors. Wraps the // resulting per-device and per-output TFE_TensorHandles into one // ParallelTensor per output of the original operation. // // Attributes are forwarded to executed operations unmodified. // // The returned optional has a value if and only if `status` evaluates to // TF_OK. Bad statuses are forwarded from underlying `TFE_Execute` calls, or
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 25 15:21:13 GMT 2023 - 12.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.h
// Return an allreduce op adding up input tensor `in` from `group_size` workers. TFE_Op* AllReduceOp(TFE_Context* ctx, TFE_TensorHandle* in, int group_size); // Return a SendOp op `op_name` with send input tensor `in` and attributes // `send_device`, `recv_device`, and `send_device_incarnation` set. TFE_Op* SendOp(TFE_Context* ctx, TFE_TensorHandle* in, const std::string& op_name, const std::string& send_device,
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/eager/immediate_execution_context.h
// Runtime. This is necessary to decouple runtime-dependent // code that is layered on top of the runtime. virtual bool UsesTFRT() = 0; // List attributes of available devices virtual void ListDevices(std::vector<DeviceAttributes>* devices) = 0; // Add `devices` into context's device manager. Context's device manager
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 06 08:34:00 GMT 2023 - 12.3K bytes - Viewed (0)