- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for addAttributes (0.14 sec)
-
tensorflow/compiler/mlir/tfr/utils/utils.cc
it->setAttr(attr.getName(), attr.getValue()); } } } // Adds `attrs` to all the operations between `begin` and `end`. Does not // include `end`. The operations might be across multiple blocks. void AddAttributes(Block::iterator begin, Block::iterator end, const NamedAttrList& attrs) { if (begin->getBlock() == end->getBlock()) { AddAttributesInSameBlock(begin, end, attrs); } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/gpu_fusion.cc
state.addOperands(batch_norm.getOperands()); if (side_input) state.operands.push_back(side_input); state.addTypes(batch_norm.getResultTypes()); state.addAttributes(batch_norm->getAttrs()); Operation *op = rewriter.create(state); rewriter.replaceOp(batch_norm, op->getResults()); // Depending on the case, we may fuse the add, the relu, or both.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 5.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc
const std::string tf_op_full_name = absl::StrCat("tf.", node_def.op()); mlir::OperationState op_state(loc, tf_op_full_name); op_state.addOperands(func.getArguments()); op_state.addTypes(output_tys); op_state.addAttributes(attrs); mlir::Operation* tf_op = op_builder.create(op_state); op_builder.create<mlir::func::ReturnOp>(loc, tf_op->getResults()); // Run the decompose passes on the module
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 29 02:34:43 UTC 2024 - 9.1K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/templates/structuring-software-projects/server-application/app/src/main/java/com/example/myproduct/server/MyProductAdminController.java
@GetMapping("/admin") public String adminForm(Model model) { model.addAttribute("versionRange", new VersionRange()); return "admin"; } @PostMapping("/admin") public String adminSubmit(@ModelAttribute VersionRange versionRange, Model model) { AdminController.INSTANCE.update(versionRange); model.addAttribute("versionRange", versionRange); return "admin"; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 903 bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/DisableGraphFilterFactory.java
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1.4K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/PosConcatenationFilterFactory.java
posTags.addAll(tagList); } } @Override public TokenStream create(final TokenStream tokenStream) { final PartOfSpeechAttribute posAtt = tokenStream.addAttribute(PartOfSpeechAttribute.class); return new PosConcatenationFilter(tokenStream, posTags, () -> posAtt.getPartOfSpeech()); }
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1.9K bytes - Viewed (0)