Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for variable_node (0.32 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/readonly_references_to_resources.cc

        StringAttr device_attr =
            variable_v2_op->getAttrOfType<StringAttr>("device");
        if (!device_attr) device_attr = builder.getStringAttr("");
        StringRef variable_name =
            GetNodeNameFromClassAttrOrSharedNameAttr(variable_v2_op);
        if (variable_name.empty()) {
          return signalPassFailure();
        }
        VarHandleOp var_handle_op = builder.create<VarHandleOp>(
            variable_v2_op.getLoc(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/initialize_variables_in_session_init.cc

      for (auto func_op : module.getOps<func::FuncOp>()) {
        for (auto var_handle_op : func_op.getOps<TF::VarHandleOp>()) {
          auto variable_name = GetVariableName(var_handle_op);
          if (variable_names.count(variable_name)) continue;
          var_ops.emplace_back(var_handle_op);
          variable_names.insert(variable_name);
        }
      }
    
      // Get resources from Session.
      auto resource_tensors_or = GetResourcesFromSession(var_ops, session);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

      """
      variable_nodes = {}
    
      for var_node in filter(_is_variable, graph_def.node):
        shared_name = str(var_node.attr['shared_name'].s, encoding='utf-8')
        variable_nodes[shared_name] = var_node
    
      for func in graph_def.library.function:
        for var_node in filter(_is_variable, func.node_def):
          variable_nodes[shared_name] = var_node
    
      return variable_nodes
    
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
Back to top