- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for Attrs (0.13 sec)
-
tensorflow/c/eager/abstract_op_attrs.h
limitations under the License. ==============================================================================*/ #ifndef TENSORFLOW_C_EAGER_ABSTRACT_OP_ATTRS_H_ #define TENSORFLOW_C_EAGER_ABSTRACT_OP_ATTRS_H_ #include "absl/container/inlined_vector.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/platform/status.h"
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed May 26 22:20:27 GMT 2021 - 2K bytes - Viewed (0) -
tensorflow/c/eager/tfe_op_attrs_internal.h
limitations under the License. ==============================================================================*/ #ifndef TENSORFLOW_C_EAGER_TFE_OP_ATTRS_INTERNAL_H_ #define TENSORFLOW_C_EAGER_TFE_OP_ATTRS_INTERNAL_H_ #include "tensorflow/c/conversion_macros.h" #include "tensorflow/c/eager/abstract_op_attrs.h" #include "tensorflow/c/tf_status.h" #include "tensorflow/core/framework/attr_value.pb.h"
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 10 05:41:19 GMT 2021 - 1.6K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/tape/tape_operation.cc
forward_op_.attrs.Set(attr_name, value); return parent_op_->SetAttrFloat(attr_name, value); } Status TapeOperation::SetAttrBool(const char* attr_name, bool value) { forward_op_.attrs.Set(attr_name, value); return parent_op_->SetAttrBool(attr_name, value); } Status TapeOperation::SetAttrType(const char* attr_name, DataType value) { forward_op_.attrs.Set(attr_name, value);
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Tue Jun 07 01:53:35 GMT 2022 - 9K bytes - Viewed (1) -
tensorflow/c/experimental/gradients/nn_grad.cc
}; // TODO(vnvo2409): Add python test class BiasAddGradientFunction : public GradientFunction { public: explicit BiasAddGradientFunction(AttrBuilder f_attrs) : forward_attrs_(f_attrs) {} Status Compute(AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> grad_outputs, absl::Span<AbstractTensorHandle*> grad_inputs) override {
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 5.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_internal.h
#include "tensorflow/c/eager/tfe_executor_internal.h" // IWYU pragma: export #include "tensorflow/c/eager/tfe_monitoring_internal.h" // IWYU pragma: export #include "tensorflow/c/eager/tfe_op_attrs_internal.h" // IWYU pragma: export #include "tensorflow/c/eager/tfe_tensor_debug_info_internal.h" // IWYU pragma: export // TODO(b/154564140): Move this to its own header. This requires splitting // c_api_experimental.h
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jan 18 19:26:34 GMT 2023 - 1.9K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_operation.h
virtual void SetStackTrace(ManagedStackTrace stack_trace) = 0; virtual const tensorflow::AbstractOpAttrs* GetOpAttrs() const = 0; virtual void AddAttrs(const AbstractOpAttrs* op_attrs) = 0; virtual void SetCancellationManager( CancellationManager* cancellation_manager) = 0; // Returns the stack trace set by `SetStackTrace` if exists.
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/eager/gradients.h
// return OkStatus(); // } // ~AddGradientFunction() override {} // }; // // GradientFunction* AddRegisterer(const ForwardOperation& op) { // // More complex gradient functions can use inputs/attrs etc. from the // // forward `op`. // return new AddGradientFunction; // } // // Status RegisterGradients(GradientRegistry* registry) { // return registry->Register("Add", AddRegisterer); // }
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/gradients_internal.h
Status AddInputList(AbstractOperation*, absl::Span<AbstractTensorHandle* const> inputs, ForwardOperation*); // Sets the attrs in the `ForwardOperation`. Status SetAttrString(AbstractOperation*, const char* attr_name, const char* data, size_t length, ForwardOperation*);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:27:35 GMT 2021 - 4.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.h
// requires its type (e.g. "AddV2") to be set independently. TF_AbstractOp* TF_NewAbstractOp(TF_ExecutionContext* ctx); void TF_DeleteAbstractOp(TF_AbstractOp*); // TODO(srbs): Add APIs for specifying attrs etc. // `op_type` must outlive `op`. void TF_AbstractOpSetOpType(TF_AbstractOp* op, const char* const op_type, TF_Status* s); // `op_name` must outlive `op`.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:27:00 GMT 2021 - 7K bytes - Viewed (0) -
tensorflow/c/eager/gradients_test.cc
&num_retvals, &forward_op, tape.get(), registry); ASSERT_EQ(errors::OK, s.code()) << s.message(); string read_message; s = forward_op.attrs.Get("message", &read_message); ASSERT_EQ(errors::OK, s.code()) << s.message(); ASSERT_EQ(read_message, message); } Status RecordOperationWithNullGradientFunctionModel(
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 7K bytes - Viewed (0)