- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for setAllResultAttrs (0.19 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tpu_device_propagation.cc
} } } llvm::SmallVector<DictionaryAttr, 8> tmp; for (const auto& res : result_attrs) { tmp.push_back(builder.getDictionaryAttr(res)); } func.setAllResultAttrs(tmp); } #define GEN_PASS_DEF_TPUDEVICEPROPAGATIONPASS #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc" struct TPUDevicePropagation
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
arg_types, res_types))); // Update arg/result attributes. func.setAllArgAttrs(arg_attrs); func.setAllResultAttrs(res_attrs); rewriter.setInsertionPointToStart(func.addEntryBlock()); // In TFE, the function body is inlined in a GraphOp. Create a GraphOp // instance and move the regions from GraphFuncOp to GraphOp.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
func.setAllArgAttrs( llvm::to_vector<4>(llvm::map_range(arg_attrs, [&](NamedAttrList& list) { return list.getDictionary(context_); }))); func.setAllResultAttrs( llvm::to_vector<4>(llvm::map_range(ret_attrs, [&](NamedAttrList& list) { return list.getDictionary(context_); }))); return absl::OkStatus(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0)