Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for is_variable (0.16 sec)

  1. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      // marked as a stateful. If so, set the tensor's is_variable as true
      // This is v1 ref variable semantics in the TFLite runtime.
      bool is_variable = false;
      for (auto& use : value.getUses()) {
        is_variable = IsStatefulOperand(use.getOwner(), use.getOperandNumber());
        if (is_variable) {
          break;
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  2. 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