Leon4gr45's picture
Upload folder using huggingface_hub (part 8)
e7b2eb4 verified
Raw
History Blame Contribute Delete
424 Bytes
// @flow
import {createLayout} from '../../util/struct_array';
const patternAttributes = createLayout([
// [tl.x, tl.y, br.x, br.y]
{name: 'a_pattern_from', components: 4, type: 'Uint16'},
{name: 'a_pattern_to', components: 4, type: 'Uint16'},
{name: 'a_pixel_ratio_from', components: 1, type: 'Uint16'},
{name: 'a_pixel_ratio_to', components: 1, type: 'Uint16'},
]);
export default patternAttributes;