- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getOpAttrs (0.14 sec)
-
tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_common.h
#include "tfrt/basic_kernels/opdefs/types.h" // from @tf_runtime namespace tfrt { namespace fallback_common { template <typename OpTy> mlir::LogicalResult VerifyExecuteOpCommon(OpTy op) { auto op_attr_array = op.getOpAttrs().getValue(); for (auto op_attr : op_attr_array) { auto key_value = mlir::dyn_cast<mlir::ArrayAttr>(op_attr); if (!key_value || key_value.getValue().size() != 2 ||
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.cc
<< op.getArgs() << ")"; fallback_common::PrintExecuteOpCommon(p, op); } void ExecuteOp::getOpAttrs( SmallVectorImpl<std::pair<StringRef, Attribute>> *op_attrs) { fallback_common::GetExecuteOpAttrsCommon( this->getContext(), this->getOpAttrs().getValue(), op_attrs); } //===----------------------------------------------------------------------===// // ConstDenseTensorOp
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 01:19:25 UTC 2023 - 15.6K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_operation.h
// Set stack trace to be used for potential async error reporting. 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;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Sep 26 22:40:32 UTC 2022 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td
I64Attr:$op_key, StrAttr:$op_name, I64Attr:$_tfrt_cost ); let results = (outs Variadic<TFTensorType>:$results ); let extraClassDeclaration = [{ void getOpAttrs(SmallVectorImpl<std::pair<::llvm::StringRef, ::mlir::Attribute>>* op_attrs); }]; let builders = [ OpBuilder<(ins "ArrayRef<Type>":$results, "ValueRange":$args, "StringRef":$device,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 18 15:01:21 UTC 2024 - 15.8K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
} void TFE_ContextEndStep(TFE_Context* ctx) { tensorflow::unwrap(ctx)->EndStep(); } const TFE_OpAttrs* TFE_OpGetAttrs(const TFE_Op* op) { return tensorflow::wrap(tensorflow::unwrap(op)->GetOpAttrs()); } void TFE_OpAddAttrs(TFE_Op* op, const TFE_OpAttrs* attrs) { tensorflow::unwrap(op)->AddAttrs(tensorflow::unwrap(attrs)); } void TFE_OpAttrsSerialize(const TFE_OpAttrs* attrs, TF_Buffer* buf,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 08:11:23 UTC 2024 - 44K bytes - Viewed (0)