| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 747e658 commit 67cf274
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -116,12 +116,8 @@ public static Dictionary<string, ConcreteFunction> load_function_def_library(Fun | |||
| 116 | 116 | } | |
| 117 | 117 | ||
| 118 | 118 | Dictionary<string, ConcreteFunction> loaded_gradients = new(); | |
| 119 | - // Debug(Rinne) | ||
| 120 | - var temp = _sort_function_defs(library, function_deps); | ||
| 121 | - int i = 0; | ||
| 122 | - foreach (var fdef in temp) | ||
| 119 | + foreach (var fdef in _sort_function_defs(library, function_deps)) | ||
| 123 | 120 | { | |
| 124 | - i++; | ||
| 125 | 121 | var orig_name = _fix_fdef_in_place(fdef, functions, load_shared_name_suffix, new_gradient_op_types); | |
| 126 | 122 | ||
| 127 | 123 | object structured_input_signature = null; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -214,12 +214,6 @@ private List<int> _generate_ordered_node_ids() | |||
| 214 | 214 | continue; | |
| 215 | 215 | } | |
| 216 | 216 | var proto = _proto.Nodes[node_id]; | |
| 217 | - if(node_id == 10522) | ||
| 218 | - { | ||
| 219 | - // Debug(Rinne) | ||
| 220 | - Console.WriteLine(); | ||
| 221 | - } | ||
| 222 | - var temp = _get_node_dependencies(proto); | ||
| 223 | 217 | foreach (var dep in _get_node_dependencies(proto).Values.Distinct()) | |
| 224 | 218 | { | |
| 225 | 219 | deps.Add(dep); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,8 +18,8 @@ public void GetAndFromConfig() | |||
| 18 | 18 | { | |
| 19 | 19 | var model = GetFunctionalModel(); | |
| 20 | 20 | var config = model.get_config(); | |
| 21 | - Debug.Assert(config is ModelConfig); | ||
| 22 | - var new_model = new ModelsApi().from_config(config as ModelConfig); | ||
| 21 | + Debug.Assert(config is FunctionalConfig); | ||
| 22 | + var new_model = new ModelsApi().from_config(config as FunctionalConfig); | ||
| 23 | 23 | Assert.AreEqual(model.Layers.Count, new_model.Layers.Count); | |
| 24 | 24 | } | |
| 25 | 25 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments