- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for variable_nodes (0.17 sec)
-
tensorflow/cc/tools/freeze_saved_model.cc
session->Run(/* inputs */ {}, tensor_names, /* targets */ {}, &outputs)); for (size_t i = 0; i < variable_names.size(); i++) { (*variable_name_to_value_map)[variable_names[i]] = outputs[i]; } return OkStatus(); } // Converts a Variable NodeDef into a Constant NodeDef. void ConvertVariableToConstant(const NodeDef& variable_node, const Tensor& variable_value,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 11 08:05:36 UTC 2023 - 11.9K bytes - Viewed (0) -
src/text/template/parse/node.go
} // VariableNode holds a list of variable names, possibly with chained field // accesses. The dollar sign is part of the (first) name. type VariableNode struct { NodeType Pos tr *Tree Ident []string // Variable name and fields in lexical order. } func (t *Tree) newVariable(pos Pos, ident string) *VariableNode {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 24.2K bytes - Viewed (0) -
src/text/template/exec.go
case *parse.PipeNode: // Parenthesized pipeline. The arguments are all inside the pipeline; final must be absent. s.notAFunction(cmd.Args, final) return s.evalPipeline(dot, n) case *parse.VariableNode: return s.evalVariableNode(dot, n, cmd.Args, final) } s.at(firstWord) s.notAFunction(cmd.Args, final) switch word := firstWord.(type) { case *parse.BoolNode: return reflect.ValueOf(word.True)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:22:24 UTC 2024 - 32K bytes - Viewed (0) -
src/text/template/parse/parse_test.go
if err != nil { b.Fatal(err) } } } var sinkv, sinkl string func BenchmarkVariableString(b *testing.B) { v := &VariableNode{ Ident: []string{"$", "A", "BB", "CCC", "THIS_IS_THE_VARIABLE_BEING_PROCESSED"}, } b.ResetTimer() b.ReportAllocs() for i := 0; i < b.N; i++ { sinkv = v.String() } if sinkv == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 24K bytes - Viewed (0)