- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for Input (0.16 sec)
-
tensorflow/c/eager/gradient_checker.h
namespace tensorflow { namespace gradients { /* Returns numerical grad inside `dtheta_approx` given `forward` model and * parameter specified by `input_index`. * * I.e. if y = <output of the forward model> and w = inputs[input_index], * this will calculate dy/dw numerically. * * `use_function` indicates whether to use graph mode(true) or eager(false). *
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Dec 11 02:34:32 GMT 2020 - 1.8K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler.h
// identify output values when possible and does other aggressive strategies. // This may cause incorrectness in graph analyses, but is useful for simulation // or scheduling. // If include_input_tensor_values is true, the values of constant // tensors will included in the input properties. // If include_output_tensor_values is true, the values of constant tensors will // be included in the output properties. TF_CAPI_EXPORT extern void TF_InferStatically(
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
// Returns the inputs of this op. virtual absl::Span<ImmediateExecutionTensorHandle* const> GetInputs() const = 0; virtual Status SetInput(size_t index, 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
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/c_api.h
// invalidate old TF_Operation* pointers. typedef struct TF_Operation TF_Operation; // Represents a specific input of an operation. typedef struct TF_Input { TF_Operation* oper; int index; // The index of the input within oper. } TF_Input; // Represents a specific output of an operation. typedef struct TF_Output { TF_Operation* oper;
C - Registered: Tue Apr 23 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_test_util.h
// Return a shape op fetching the shape of `a`. TFE_Op* ShapeOp(TFE_Context* ctx, TFE_TensorHandle* a); // 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.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Jul 17 23:43:59 GMT 2023 - 7.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.h
// E.g. it could know whether we're in eager mode or graph mode, keeps track // of gradient tapes, etc. typedef struct TF_ExecutionContext TF_ExecutionContext; // 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;
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/eager/parallel_device/parallel_device_testlib.h
// The a handle for the resource-dtype tensor pointing to the variable's // buffer. TFE_TensorHandle* handle_; // The dtype of the variable's buffer (input dtype for assignments, output // dtype of read operations). TF_DataType type_; }; // Creates a TFE_TensorHandle with value `v`. TensorHandlePtr FloatTensorHandle(float v, TF_Status* status);
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Feb 09 01:12:35 GMT 2021 - 6.9K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device.h
// parallel device creates a parallel tensor `x` with `a` on the first of // `underlying_devices` and `b` on the second. Running `a_unpacked, b_unpacked = // TPUReplicatedOutput(input=x, num_replicas=2)` un-packs the parallel tensor // into its components. // // The filled `device` struct and the allocated `device_info` struct may be // passed to TFE_RegisterCustomDevice. The `device_name` arguments must match.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jun 04 21:49:16 GMT 2020 - 2.9K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
return underlying_devices_; } // Takes a description of a single operation being executed on the // ParallelDevice, and in turn runs one operation per component device with // 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.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Apr 25 15:21:13 GMT 2023 - 12.9K bytes - Viewed (0) -
tensorflow/c/c_test.c
// 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); TF_DeleteTensor(input); TF_DeleteStatus(s); } // Exercises tensorflow's C API. int main(int argc, char** argv) { TF_InitMain(argv[0], &argc, &argv);
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Jan 15 17:51:26 GMT 2020 - 2.8K bytes - Viewed (0)