YAC 3.7.0
Yet Another Coupler
Loading...
Searching...
No Matches
interp_method_file.h
Go to the documentation of this file.
1// Copyright (c) 2024 The YAC Authors
2//
3// SPDX-License-Identifier: BSD-3-Clause
4
5#ifndef INTERP_METHOD_FILE_H
6#define INTERP_METHOD_FILE_H
7
8#include "interp_method.h"
9
10// YAC PUBLIC HEADER START
11
20
27
28#define YAC_WEIGHT_FILE_VERSION_STRING "yac weight file 1.0"
29
30#define YAC_INTERP_FILE_WEIGHT_FILE_NAME_DEFAULT (NULL)
31#define YAC_INTERP_FILE_ON_MISSING_FILE_DEFAULT (YAC_INTERP_FILE_MISSING_ERROR)
32#define YAC_INTERP_FILE_ON_SUCCESS_DEFAULT (YAC_INTERP_FILE_SUCCESS_CONT)
33
43 char const * weight_file_name,
46
47// YAC PUBLIC HEADER STOP
48
49#endif // INTERP_METHOD_FILE_H
enum yac_interp_file_on_missing_file on_missing_file
enum yac_interp_file_on_success on_success
yac_interp_file_on_missing_file
@ YAC_INTERP_FILE_MISSING_CONT
continue on missing file
@ YAC_INTERP_FILE_MISSING_ERROR
abort on missing file
yac_interp_file_on_success
@ YAC_INTERP_FILE_SUCCESS_CONT
@ YAC_INTERP_FILE_SUCCESS_STOP
struct interp_method * yac_interp_method_file_new(char const *weight_file_name, enum yac_interp_file_on_missing_file on_missing_file, enum yac_interp_file_on_success on_success)