- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 80 for Op (2.42 sec)
-
tensorflow/c/experimental/gradients/math_grad.h
GradientFunction* AddRegisterer(const ForwardOperation& op); GradientFunction* ExpRegisterer(const ForwardOperation& op); GradientFunction* MatMulRegisterer(const ForwardOperation& op); GradientFunction* SqrtRegisterer(const ForwardOperation& op); GradientFunction* NegRegisterer(const ForwardOperation& op); GradientFunction* SubRegisterer(const ForwardOperation& op); GradientFunction* MulRegisterer(const ForwardOperation& op);
C - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Thu Dec 03 22:28:48 GMT 2020 - 1.5K bytes - Viewed (0) -
tensorflow/c/eager/gradients.h
// a map (`tensorflow::eager::TensorTape`) from the wrapped tensor to the id of // the op that produced it (or -1 if this tensor was watched using // `GradientTape::Watch`.) The op_id is simply a unique index assigned to each // op executed under the tape. A separate map (`tensorflow::eager::OpTape`) // maintains the map from `op_id` to a `OpTapeEntry` which stores the `op_type`, // inputs and outputs and the gradient function These data structures combined
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 26 10:27:05 GMT 2022 - 6.9K bytes - Viewed (0) -
tensorflow/c/eager/tracing_utils.cc
namespace tracing { Status MaybeSetOpName(AbstractOperation* op, const char* op_name) { if (isa<TracingOperation>(op)) { TF_RETURN_IF_ERROR(dyn_cast<TracingOperation>(op)->SetOpName(op_name)); } if (isa<gradients::TapeOperation>(op)) { TF_RETURN_IF_ERROR(MaybeSetOpName( dyn_cast<gradients::TapeOperation>(op)->GetBackingOperation(), op_name)); } return absl::OkStatus(); } } // namespace tracing
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 1.4K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
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; } CHECK(result.op_tape.emplace(op_id, op_it->second).second);
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/c_api_experimental_test.cc
/*expected_shape*/ make_shape({1, 6})); TFE_DeleteOp(reshape_op); reshape_op = nullptr; TFE_Op* fill_op = TFE_NewOp(tfe_context_, "Fill", status_); CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_); TFE_OpSetAttrType(fill_op, "T", TF_FLOAT); TFE_OpSetAttrType(fill_op, "Tshape", TF_INT32); float five = 5.0;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jan 17 22:27:52 GMT 2023 - 13.1K bytes - Viewed (1) -
tensorflow/c/BUILD
"//tensorflow/core:core_cpu_internal", "//tensorflow/core:direct_session", "//tensorflow/core:framework", "//tensorflow/core:framework_internal", "//tensorflow/core:functional_ops_op_lib", "//tensorflow/core:lib", "//tensorflow/core:math_ops_op_lib", "//tensorflow/core:nn_ops_op_lib", "//tensorflow/core:no_op_op_lib",
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 27 18:00:18 GMT 2024 - 30.3K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/math_grad.cc
} // namespace GradientFunction* AddRegisterer(const ForwardOperation& op) { return new AddGradientFunction; } GradientFunction* ExpRegisterer(const ForwardOperation& op) { return new ExpGradientFunction(op.outputs[0]); } GradientFunction* MatMulRegisterer(const ForwardOperation& op) { return new MatMulGradientFunction(op.inputs, op.attrs); } GradientFunction* SqrtRegisterer(const ForwardOperation& op) {
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 15.2K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
// Sanity check returned OpDef string data(static_cast<const char*>(buffer->data), buffer->length); OpDef op_def; op_def.ParseFromString(data); EXPECT_EQ(op_def.name(), func_name_); EXPECT_EQ(op_def.input_arg_size(), 1); EXPECT_EQ(op_def.output_arg_size(), 1); EXPECT_FALSE(op_def.is_stateful()); TF_DeleteBuffer(buffer); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6) -
tensorflow/c/c_api_experimental.cc
NodeDef node_def; tensorflow::ImmediateExecutionOperation* op = tensorflow::unwrap(tfe_op); node_def.set_name(op->Name()); node_def.set_op(op->Name()); for (int i = 0; i < num_inputs; ++i) { node_def.add_input("dummy_input"); } OperationFromInterface(op)->Attrs().FillAttrValueMap(node_def.mutable_attr()); const tensorflow::OpRegistrationData* op_reg_data; status->status =
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc
ParallelDevice parallel_device(std::move(devices)); std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> handle_op( TFE_NewOp(context.get(), "VarHandleOp", status.get()), TFE_DeleteOp); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); TFE_OpSetAttrType(handle_op.get(), "dtype", TF_FLOAT); TFE_OpSetAttrShape(handle_op.get(), "shape", /*dims=*/nullptr, /*num_dims=*/0, status.get());
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 08 23:47:35 GMT 2021 - 15.3K bytes - Viewed (0)