From 153f808a0eb648a28a2203a96a5d68f9245e361b Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Thu, 7 Aug 2025 16:50:09 +0200 Subject: Added schema meta deduction for Tensor --- modules/codec/c++/schema_math.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/codec/c++/schema_math.hpp b/modules/codec/c++/schema_math.hpp index ddf95a0..fa73ba5 100644 --- a/modules/codec/c++/schema_math.hpp +++ b/modules/codec/c++/schema_math.hpp @@ -1,6 +1,7 @@ #pragma once #include "schema.hpp" +#include "schema_meta.hpp" namespace saw { namespace schema { @@ -25,4 +26,10 @@ template using Matrix = Tensor; } + +template +struct meta_schema> { + using Schema = schema::Tensor; + using MetaSchema = schema::FixedArray; +}; } -- cgit v1.2.3