DetessDequant.h File
SimaAI detessellation + dequantization node wrapper. More...
Included Headers
#include "builder/ConfigJsonConsumer.h"
#include "builder/ConfigJsonOverride.h"
#include "builder/ConfigJsonProvider.h"
#include "builder/Node.h"
#include "builder/OutputSpec.h"
#include <functional>
#include <memory>
#include <optional>
#include <string>
#include <vector>
Namespaces Index
| namespace | simaai |
| namespace | neat |
| namespace | nodes |
Classes Index
| struct | DetessDequantOptions |
| class | DetessDequant |
Description
SimaAI detessellation + dequantization node wrapper.
File Listing
The file content with the documentation metadata removed is:
20namespace simaai::neat {
24namespace simaai::neat {
26struct DetessDequantOptions {
27 DetessDequantOptions() = default;
28 explicit DetessDequantOptions(const simaai::neat::Model& model);
30 std::string config_path;
31 std::string config_dir;
32 bool keep_config = false;
33 std::optional<nlohmann::json> config_json;
34 std::string upstream_name;
35 std::string element_name;
36 int num_buffers = 0;
37 int num_buffers_model = 0;
38 bool num_buffers_locked = false;
41class DetessDequant final : public Node,
47 explicit DetessDequant(DetessDequantOptions opt = {});
53 NodeCapsBehavior caps_behavior() const override {
56 bool has_config_json() const override {
59 bool wire_input_names(const std::vector<std::string>& upstream_names,
61 std::string backend_fragment(int node_index) const override;
62 std::vector<std::string> element_names(int node_index) const override;
63 OutputSpec output_spec(const OutputSpec& input) const override;
65 const nlohmann::json* config_json() const override;
66 bool override_config_json(const std::function<void(nlohmann::json&)>& edit,
68 void apply_upstream_config(const nlohmann::json& upstream,
71 const DetessDequantOptions& options() const {
74 const std::string& config_path() const {
79 DetessDequantOptions opt_;
86namespace simaai::neat::nodes {
87std::shared_ptr<simaai::neat::Node> DetessDequant(DetessDequantOptions opt = {});
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.