Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 483 for states_ (0.28 sec)

  1. tensorflow/compiler/mlir/lite/quantization/quantization_context.h

        // `as_result` is true or index-th operand if `as_result` is false. The
        // state is immutable if the type is a quantized type. Returns the index of
        // this new state in the state vector.
        int InitializeState(quantfork::QuantizeRegionOp op, int index,
                            bool as_result);
    
        // Sets the state of the index-th operand of the op. If this operand is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.h

      DenseMap<OpWithResultIndex, QuantStateIndex> result_states_;
    
      // Returns the state of the block argument.
      QuantState& GetArgQuantState(BlockArgument arg) {
        return states_[arg_states_[arg]];
      }
    
      // Returns the state of the index-th result of the op.
      QuantState& GetResultQuantState(Operation* op, const int index) {
        return states_[result_states_[{op, index}]];
      }
    
     private:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:42:17 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/quantization_context.cc

      // Two vector to collect Non-empty operands and results states.
      std::vector<quant::QuantState *> mutable_states, immutable_states;
      for (int i = 0, e = op->getNumOperands(); i != e; ++i) {
        auto &state = states_manager_.GetOperandQuantState(op, i);
        if (state.immutable) {
          immutable_states.push_back(&state);
        } else if (!state.IsEmpty()) {
          mutable_states.push_back(&state);
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

        }
      }
      RequantizeValue(value, states, builder_.getUnknownLoc());
    }
    
    void QuantizationDriver::RequantizeValue(Value value, RequantizeStates& states,
                                             const Location loc) {
      if (states.empty() || states.front().pos == RequantizeState::NO_REQUANTIZE) {
        return;
      }
      if (states.front().pos == RequantizeState::ON_INPUT) {
        RequantizeState& state = states.front();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  5. tensorflow/cc/experimental/base/public/status.h

      void SetStatus(TF_Code code, const std::string& msg);
    
      // Status is movable, but not copyable.
      Status(Status&&) = default;
      Status& operator=(Status&&) = default;
    
     private:
      friend class RuntimeBuilder;
      friend class Runtime;
      friend class SavedModelAPI;
      friend class TensorHandle;
    
      // Wraps a TF_Status*, and takes ownership of it.
      explicit Status(TF_Status* status) : status_(status) {}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 12 19:37:48 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  6. src/html/template/transition.go

    	}
    	switch c.state {
    	case stateJSBlockCmt:
    		c.state = stateJS
    	case stateCSSBlockCmt:
    		c.state = stateCSS
    	default:
    		panic(c.state.String())
    	}
    	return c, i + 2
    }
    
    // tLineCmt is the context transition function for //comment states, and the JS HTML-like comment state.
    func tLineCmt(c context, s []byte) (context, int) {
    	var lineTerminators string
    	var endState state
    	switch c.state {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:54:31 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. src/internal/trace/order.go

    	var sb strings.Builder
    	for id, state := range order.gStates {
    		fmt.Fprintf(&sb, "G %d [status=%s seq=%s]\n", id, state.status, state.seq)
    	}
    	fmt.Fprintln(&sb)
    	for id, state := range order.pStates {
    		fmt.Fprintf(&sb, "P %d [status=%s seq=%s]\n", id, state.status, state.seq)
    	}
    	fmt.Fprintln(&sb)
    	for id, state := range order.mStates {
    		fmt.Fprintf(&sb, "M %d [g=%d p=%d]\n", id, state.g, state.p)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  8. src/html/template/context.go

    //
    // is a single token in HTML's grammar but in a template spans several nodes.
    type state uint8
    
    //go:generate stringer -type state
    
    const (
    	// stateText is parsed character data. An HTML parser is in
    	// this state when its parse position is outside an HTML tag,
    	// directive, comment, and special element body.
    	stateText state = iota
    	// stateTag occurs before an HTML attribute or the end of a tag.
    	stateTag
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/quantize-variables.mlir

      %4 = "tfl.var_handle"() {container = "", shared_name = "read_assign/states0"} : () -> tensor<!tf_type.resource>
      %5 = "tfl.var_handle"() {container = "", shared_name = "read_assign/states1"} : () -> tensor<!tf_type.resource>
      
      %40 = "tfl.read_variable"(%4) : (tensor<!tf_type.resource>) -> tensor<1x2x3xf32>
      %41 = "quantfork.stats"(%40) {layerStats = dense<[0.0, 1.0]> : tensor<2xf32>} : (tensor<1x2x3xf32>) -> tensor<1x2x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  10. src/encoding/json/scanner.go

    func state1(s *scanner, c byte) int {
    	if '0' <= c && c <= '9' {
    		s.step = state1
    		return scanContinue
    	}
    	return state0(s, c)
    }
    
    // state0 is the state after reading `0` during a number.
    func state0(s *scanner, c byte) int {
    	if c == '.' {
    		s.step = stateDot
    		return scanContinue
    	}
    	if c == 'e' || c == 'E' {
    		s.step = stateE
    		return scanContinue
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 16.1K bytes
    - Viewed (0)
Back to top