Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

feat: add Attribute_Tensor to protobuf schema#7

Merged
dndungu merged 2 commits intozerfoo:mainfrom
dndungu:main
Mar 3, 2026
Merged

feat: add Attribute_Tensor to protobuf schema#7
dndungu merged 2 commits intozerfoo:mainfrom
dndungu:main

Conversation

@dndungu
Copy link
Copy Markdown
Contributor

@dndungu dndungu commented Mar 3, 2026

Summary

  • Add Attribute_Tensor oneof variant to the Attribute message in the protobuf schema
  • Enables storing tensor constants as node attributes (needed for ONNX Constant operator)

Why

zerfoo/zerfoo model package references zmf.Attribute_Tensor which doesn't exist in upstream v0.2.0. This causes build failures:

model/builder.go:402:42: undefined: zmf.Attribute_Tensor
model/builder.go:442:13: undefined: zmf.Attribute_Tensor

Test plan

  • Tag v0.3.0 after merge to unblock zerfoo/zerfoo CI

@dndungu dndungu merged commit 9091985 into zerfoo:main Mar 3, 2026
6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant