public class ForStatement extends Statement
Statement.FederatedPSScheme, Statement.PSCheckpointing, Statement.PSFrequency, Statement.PSModeType, Statement.PSRuntimeBalancing, Statement.PSScheme, Statement.PSUpdateTypeBOOLEAN_VALUE_TYPE, DOUBLE_VALUE_TYPE, FRAME_DATA_TYPE, GAGG_FN, GAGG_FN_CM, GAGG_FN_CM_ORDER, GAGG_FN_COUNT, GAGG_FN_MEAN, GAGG_FN_SUM, GAGG_FN_VARIANCE, GAGG_GROUPS, GAGG_NUM_GROUPS, GAGG_TARGET, GAGG_WEIGHTS, INT_VALUE_TYPE, MATRIX_DATA_TYPE, OUTPUTSTATEMENT, PS_AGGREGATION_FUN, PS_BATCH_SIZE, PS_CHECKPOINTING, PS_EPOCHS, PS_FEATURES, PS_FED_AGGREGATION_FNAME, PS_FED_BATCH_SIZE, PS_FED_DATA_SIZE, PS_FED_GRADIENTS_FNAME, PS_FED_MODEL_VARID, PS_FED_NAMESPACE, PS_FED_POSS_BATCHES_LOCAL, PS_FED_RUNTIME_BALANCING, PS_FED_WEIGHTING, PS_FREQUENCY, PS_GRADIENTS, PS_HYPER_PARAMS, PS_LABELS, PS_MODE, PS_MODEL, PS_PARALLELISM, PS_SCHEME, PS_SEED, PS_UPDATE_FUN, PS_UPDATE_TYPE, PS_VAL_FEATURES, PS_VAL_FUN, PS_VAL_LABELS, SCALAR_DATA_TYPE, SEQ_FROM, SEQ_INCR, SEQ_TO, SETWD, SOURCE, STRING_VALUE_TYPE| Constructor and Description |
|---|
ForStatement() |
| Modifier and Type | Method and Description |
|---|---|
void |
addStatementBlock(StatementBlock sb) |
boolean |
controlStatement() |
ArrayList<StatementBlock> |
getBody() |
IterablePredicate |
getIterablePredicate() |
VariableSet |
initializebackwardLV(VariableSet lo) |
void |
initializeforwardLV(VariableSet activeIn) |
void |
mergeStatementBlocks() |
Statement |
rewriteStatement(String prefix) |
void |
setBody(ArrayList<StatementBlock> body) |
void |
setPredicate(IterablePredicate pred) |
String |
toString() |
VariableSet |
variablesRead() |
VariableSet |
variablesUpdated() |
getBeginColumn, getBeginLine, getEndColumn, getEndLine, getFilename, getText, isEmptyNewLineStatement, printErrorLocation, printWarningLocation, raiseValidateError, raiseValidateError, setBeginColumn, setBeginLine, setCtxValues, setCtxValuesAndFilename, setEmptyNewLineStatement, setEndColumn, setEndLine, setFilename, setParseInfo, setTextequals, getClass, hashCode, notify, notifyAll, wait, wait, waitctxAndFilenameToParseInfopublic Statement rewriteStatement(String prefix)
rewriteStatement in class Statementpublic void setPredicate(IterablePredicate pred)
public void addStatementBlock(StatementBlock sb)
public IterablePredicate getIterablePredicate()
public ArrayList<StatementBlock> getBody()
public void setBody(ArrayList<StatementBlock> body)
public boolean controlStatement()
controlStatement in class Statementpublic void mergeStatementBlocks()
public void initializeforwardLV(VariableSet activeIn)
initializeforwardLV in class Statementpublic VariableSet initializebackwardLV(VariableSet lo)
initializebackwardLV in class Statementpublic VariableSet variablesRead()
variablesRead in class Statementpublic VariableSet variablesUpdated()
variablesUpdated in class StatementCopyright © 2021 The Apache Software Foundation. All rights reserved.