MCPcopy Create free account
hub / github.com/COLA-Laboratory/TransOPT / constructor

Method constructor

webui/src/features/algorithm/index.js:10–23  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

8
9class Algorithm extends React.Component {
10 constructor(props) {
11 super(props);
12 this.state = {
13 TasksData: [],
14 SpaceRefiner: [],
15 Sampler: [],
16 Pretrain: [],
17 Model: [],
18 ACF: [],
19 DataSelector: [],
20 Normalizer: [],
21 optimizer: {},
22 };
23 }
24
25 updateTable = (newOptimizer) => {
26 this.setState({ optimizer: newOptimizer });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected