YAC 3.13.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
9
10// YAC PUBLIC HEADER START
11
16
23
24#define YAC_WEIGHT_FILE_VERSION_STRING "yac weight file 1.0"
25
26#define YAC_INTERP_FILE_WEIGHT_FILE_NAME_DEFAULT (NULL)
27#define YAC_INTERP_FILE_ON_MISSING_FILE_DEFAULT (YAC_INTERP_FILE_MISSING_ERROR)
28#define YAC_INTERP_FILE_ON_SUCCESS_DEFAULT (YAC_INTERP_FILE_SUCCESS_CONT)
29
39 char const * weight_file_name,
40 enum yac_interp_file_on_missing_file on_missing_file,
41 enum yac_interp_file_on_success on_success);
42
43// YAC PUBLIC HEADER STOP
44
45#endif // INTERP_METHOD_FILE_H
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)
char const * weight_file_name