21 references to AddReturn
Microsoft.ML.Data (21)
Model\Pfa\PfaUtils.cs (18)
45
return ((JObject)null).
AddReturn
("fcn", func);
68
return ((JObject)null).
AddReturn
("type", Type.String).
AddReturn
("value", str);
105
cases.Add(jobj.
AddReturn
("as", Type.Map(itemType)).
AddReturn
(
106
"named", asMapName).
AddReturn
("do", mapDo));
107
cases.Add(jobj.
AddReturn
("as", Type.Array(itemType)).
AddReturn
(
108
"named", asArrName).
AddReturn
("do", arrDo));
109
return jobj.
AddReturn
("cast", src).
AddReturn
("cases", cases);
115
return ((JObject)null).
AddReturn
("cell", name);
310
elseBlock.Add(jobj.
AddReturn
("let", jobj.
AddReturn
("halfsize",
312
elseBlock.Add(jobj.
AddReturn
("let", jobj.
AddReturn
("fullsize",
319
If(Call("==", "size", 0), jobj.
AddReturn
("type", arrType).
AddReturn
("value", new JArray()),
Transforms\ColumnConcatenatingTransformer.cs (2)
840
result = jobj.
AddReturn
("type", arrType).
AddReturn
("new", new JArray(rootObjects));
Transforms\KeyToVector.cs (1)
697
PfaUtils.Index("a", "i").
AddReturn
("to", toFunc), "a"));