- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for if (0.14 sec)
-
tensorflow/c/eager/c_api.h
TF_Status* status); // Returns the device of the operation that produced `h`. If `h` was produced by // a copy, returns the destination device of the copy. Note that the returned // device name is not always the device holding the tensor handle's memory. If // you want the latter, use TFE_TensorHandleBackingDeviceName. This function // will block till the operation that produces `h` has completed.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Viewed (1) -
tensorflow/c/c_api_macros_internal.h
#define TF_VALIDATE_STRUCT_SIZE(STRUCT_NAME, STRUCT_OBJ, SIZE_VALUE_NAME) \ do { \ if (STRUCT_OBJ.struct_size == 0) { \ return tensorflow::Status(absl::StatusCode::kFailedPrecondition, \ "Expected initialized `" #STRUCT_NAME \
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Mar 13 17:40:56 GMT 2023 - 2.5K bytes - Viewed (0) -
tensorflow/c/eager/abstract_operation.h
// The value returned may be different from the one set by SetDeviceName, but // it will be compatible with it: the name will be updated by device placement // logic to refer to the specific device chosen. // // Example: If one calls `op->SetDeviceName("/device:GPU")`, the value // returned by DeviceName should be "/device:GPU:*" until a particular GPU is // chosen for the operation by the device placement logic in the
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Jul 14 16:20:41 GMT 2021 - 6.8K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_distributed_manager.h
// tasks to initialize the eager context and TF server for multi-client // execution. virtual Status EnableCollectiveOps(const ServerDef& server_def) = 0; // Check if the remote task is alive. virtual Status CheckRemoteAlive(const std::string& remote_task_name, bool* is_alive) = 0; // Get pointer to the coordination service agent instance.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 2.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
// is for performance optimization by reusing an exiting unused op rather than // creating a new op every time. If `raw_device_name` is `NULL` or empty, it // does not set the device name. If it's not `NULL`, then it attempts to parse // and set the device name. It's effectively `TFE_OpSetDevice`, but it is faster // than separately calling it because if the existing op has the same // `raw_device_name`, it skips parsing and just leave as it is.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler.h
TF_GraphProperties* graph_properties); // Infer tensor shapes through abstract interpretation. // If assume_valid_feeds is true, it can help infer shapes in the fanout of fed // nodes. This may cause incorrectness in graph analyses, but is useful for // simulation or scheduling. // If aggressive_shape_inference is true, nodes are executed on the host to
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/immediate_execution_operation.h
ImmediateExecutionTensorHandle* input) = 0; virtual ImmediateExecutionContext* GetContext() const = 0; // Following two methods are used to support custom device. // Return true if the inputs contain custom device tensor handle. It means // that the argument need to be handled by a custom device. virtual bool HasCustomDeviceInput() const = 0; virtual const tensorflow::OpDef* OpDef() const = 0;
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Sep 26 22:40:32 GMT 2022 - 3.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.h
// Append a tensor at the end of the output list, growing its size by one. void TF_OutputListPushBack(TF_OutputList* o, TF_AbstractTensor* tensor, TF_Status*); // TF_ExecuteOperation will, if in eager mode, execute, if in graph mode, maybe // capture some inputs and then add a node in the graph. The output tensors are // returned through the provided TF_OutputList. // Any active tape will observe the effects of this execution.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:27:00 GMT 2021 - 7K bytes - Viewed (0) -
tensorflow/c/c_api_internal.h
// Set the shapes and types of the output's handle. // // The lengths of the arrays pointed to by `shapes`, `ranks`, and `types` must // all be equal to `num_shapes_and_types`. If `ranks[i] != -1`, (i.e., if the // rank is known), then it must be equal to the length of `shapes[i]`; if // `ranks[i] == 1`, then `shapes[i]` may be nullptr. // // TODO(akshayka): Implement a corresponding getter method.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sat May 13 00:49:12 GMT 2023 - 7.6K bytes - Viewed (0) -
tensorflow/c/c_op_requires.h
} \ } while (0) #define TF_CLEANUP_AND_RETURN_IF_ERROR(C_STATUS, BUFFER, __VA_ARGS__) \ do { \ ::tensorflow::Status _s(__VA_ARGS__); \ if (TF_PREDICT_TRUE(!_s.ok())) { \ TF_DeleteStatus(C_STATUS); \
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Aug 02 21:35:06 GMT 2022 - 2.3K bytes - Viewed (0)