chore: auto-commit (95 archivos)
- cmd/fn/doctor.go - cmd/fn/main.go - cpp/apps/primitives_gallery/playground/tables/CMakeLists.txt - cpp/apps/primitives_gallery/playground/tables/data_table.cpp - cpp/apps/primitives_gallery/playground/tables/data_table_logic.cpp - cpp/apps/primitives_gallery/playground/tables/data_table_logic.h - cpp/apps/primitives_gallery/playground/tables/self_test.cpp - cpp/apps/primitives_gallery/playground/tables/tql.cpp - cpp/apps/primitives_gallery/playground/tables/viz.cpp - cpp/apps/primitives_gallery/playground/tables/viz.h - ... Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package ml
|
||||
|
||||
// ImageGenResult contiene la imagen generada y su metadata de ejecucion.
|
||||
// ImageBytes transporta los bytes raw del PNG y se excluye del JSON
|
||||
// (campo json:"-") porque viaja por canal binario separado.
|
||||
type ImageGenResult struct {
|
||||
ImageBytes []byte `json:"-"`
|
||||
Format string `json:"format"`
|
||||
Meta map[string]any `json:"meta"`
|
||||
DurationMs int64 `json:"duration_ms"`
|
||||
VramPeakMb *int `json:"vram_peak_mb,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user