- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for tf_outputs (0.29 sec)
-
tensorflow/c/eager/gradient_checker.cc
TF_RETURN_IF_ERROR( RunAndMaybeSum(ctx, forward, theta_inputs, f_outputs, use_function)); AbstractTensorHandlePtr fPlus(f_outputs[0]); // Get f(theta - eps): theta_inputs[input_index] = thetaMinus.get(); TF_RETURN_IF_ERROR( RunAndMaybeSum(ctx, forward, theta_inputs, f_outputs, use_function)); AbstractTensorHandlePtr fMinus(f_outputs[0]);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 7.3K bytes - Viewed (0) -
tensorflow/c/c_test_util.h
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 09 01:06:53 UTC 2018 - 6K bytes - Viewed (0) -
tensorflow/c/python_api.cc
TF_SetRequestedDevice(graph, op, device); } void UpdateEdge(TF_Graph* graph, TF_Output new_src, TF_Input dst, TF_Status* status) { TF_UpdateEdge(graph, new_src, dst, status); } void ExtendSession(TF_Session* session, TF_Status* status) { TF_ExtendSession(session, status); } std::string GetHandleShapeAndType(TF_Graph* graph, TF_Output output) { Node* node = &output.oper->node;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jul 12 18:48:56 UTC 2023 - 3.5K bytes - Viewed (0) -
tensorflow/c/python_api.h
std::string GetHandleShapeAndType(TF_Graph* graph, TF_Output output); // Sets `output` based on `proto`, which should be a serialized // CppShapeInferenceResult::HandleData proto. `output` should be a resource // or variant tensor. // NOTE(skyewm): `proto` is passed a void*/size_t pair instead of a std::string // because I couldn't get SWIG to work otherwise. void SetHandleShapeAndType(TF_Graph* graph, TF_Output output, const void* proto,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jul 12 18:48:56 UTC 2023 - 3.5K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/nn_grad.cc
namespace tensorflow { namespace gradients { namespace { class ReluGradientFunction : public GradientFunction { public: explicit ReluGradientFunction(vector<AbstractTensorHandle*> f_outputs) : forward_outputs_(f_outputs) { for (auto output : forward_outputs_) { if (output) { output->Ref(); } } } Status Compute(AbstractContext* ctx,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 09 06:38:45 UTC 2024 - 5.7K bytes - Viewed (0) -
tensorflow/c/c_api_internal.h
// Used to link graphs contained in TF_WhileParams to the parent graph that // will eventually contain the full while loop. TF_Graph* parent; TF_Output* parent_inputs; }; struct TF_OperationDescription { TF_OperationDescription(TF_Graph* g, const char* op_type, const char* node_name)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat May 13 00:49:12 UTC 2023 - 7.6K bytes - Viewed (0) -
tensorflow/c/eager/unified_api_testutil.cc
std::vector<AbstractTensorHandle*> fn_outputs(retvals); TF_RETURN_IF_ERROR(fn_op->Execute( absl::Span<AbstractTensorHandle*>(fn_outputs.data(), fn_outputs.size()), &retvals)); int skipped_indices = 0; for (int i = 0; i < outputs.size(); i++) { if (!null_indices.contains(i)) { outputs[i] = fn_outputs[i - skipped_indices]; } else { skipped_indices += 1;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 13:57:45 UTC 2024 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ops/mlir_passthrough_op.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Sep 14 23:15:53 UTC 2019 - 1.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/type_attr.mlir
// Check that attributes that define types are exported. // CHECK: key: "Tinputs" // CHECK-NEXT: value // CHECK-NEXT: list // CHECK-NEXT: type: DT_FLOAT // CHECK: key: "Toutputs" // CHECK-NEXT: value // CHECK-NEXT: list // CHECK-NEXT: type: DT_FLOAT // CHECK: "extra_type_attr" // CHECK-NEXT: value // CHECK-NEXT: list // CHECK-NEXT: type: DT_INT32
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 12:06:33 UTC 2022 - 1.1K bytes - Viewed (0) -
tensorflow/c/eager/custom_device_testutil.cc
} if (TF_GetCode(s) != TF_OK) return; } std::vector<TFE_TensorHandle*> op_outputs(*num_outputs); TFE_Execute(op, op_outputs.data(), num_outputs, s); TFE_DeleteOp(op); if (TF_GetCode(s) != TF_OK) return; std::vector<TFE_TensorHandle*> unwrapped_outputs; unwrapped_outputs.reserve(op_outputs.size()); for (auto* handle : op_outputs) { unwrapped_outputs.push_back(handle); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 03 20:47:31 UTC 2021 - 8.3K bytes - Viewed (0)