Skip to main content

ConversionCost Struct

Cost estimate for a conversion: bytes moved + a coarse compute-class bucket (low/med/high). More...

Declaration

struct simaai::neat::ConversionCost { ... }

Included Headers

#include <TensorConversion.h>

Public Member Attributes Index

std::uint64_tbytes_copied = 0

Bytes that would be moved/written by this conversion. More...

intcompute_class = 0

Coarse compute cost: 0 = low, 1 = medium, 2 = high. More...

Description

Cost estimate for a conversion: bytes moved + a coarse compute-class bucket (low/med/high).

Definition at line 54 of file TensorConversion.h.

Public Member Attributes

bytes_copied

std::uint64_t simaai::neat::ConversionCost::bytes_copied = 0

Bytes that would be moved/written by this conversion.

Definition at line 55 of file TensorConversion.h.

55 std::uint64_t bytes_copied = 0;

compute_class

int simaai::neat::ConversionCost::compute_class = 0

Coarse compute cost: 0 = low, 1 = medium, 2 = high.

Definition at line 56 of file TensorConversion.h.

56 int compute_class = 0;

The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.