- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 274 for states_ (0.18 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/internal/trace/reader.go
} return &Reader{ go121Events: convertOldFormat(tr), }, nil case version.Go122, version.Go123: return &Reader{ r: br, order: ordering{ mStates: make(map[ThreadID]*mState), pStates: make(map[ProcID]*pState), gStates: make(map[GoID]*gState), activeTasks: make(map[TaskID]taskState), }, // Don't emit a sync event when we first go to emit events. emittedSync: true, }, nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/nn_grad_test.cc
protected: void SetUp() override { TF_StatusPtr status(TF_NewStatus()); TF_SetTracingImplementation(std::get<0>(GetParam()), status.get()); status_ = StatusFromTF_Status(status.get()); ASSERT_EQ(errors::OK, status_.code()) << status_.message(); { AbstractContext* ctx_raw = nullptr; status_ = BuildImmediateExecutionContext(std::get<1>(GetParam()), &ctx_raw);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 28 13:53:47 UTC 2024 - 8.3K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/array_grad_test.cc
protected: void SetUp() override { TF_StatusPtr status(TF_NewStatus()); TF_SetTracingImplementation(std::get<0>(GetParam()), status.get()); status_ = StatusFromTF_Status(status.get()); ASSERT_EQ(errors::OK, status_.code()) << status_.message(); { AbstractContext* ctx_raw = nullptr; status_ = BuildImmediateExecutionContext(std::get<1>(GetParam()), &ctx_raw);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 28 13:53:47 UTC 2024 - 5K bytes - Viewed (0)