Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetNameForOp (0.18 sec)

  1. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

      // Don't set any value field in the proto, since it is only going to be used
      // for shape inference.
    
      GraphDefBuilder::Options options(graph_out, /*status=*/nullptr);
      NodeBuilder node_builder(options.GetNameForOp("KnownShape"), "Const",
                               options.op_registry());
      node_builder.Attr("dtype", data_type).Attr("value", dummy_proto);
      Node* node = options.FinalizeBuilder(&node_builder);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
Back to top