- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 45 for new_state (0.24 sec)
-
src/internal/zstd/fse.go
} for i := 0; i < tableSize; i++ { sym := table[i].sym nextState := next[sym] next[sym]++ if nextState == 0 { return r.makeError(off, "FSE state error") } highBit := 15 - bits.LeadingZeros16(nextState) bits := tableBits - highBit table[i].bits = uint8(bits) table[i].base = (nextState << bits) - uint16(tableSize) } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 16:44:06 UTC 2023 - 12.2K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/DefaultResourceLockCoordinationService.java
if (currentOwner == null) { currentOwner = Thread.currentThread(); } else if (currentOwner != Thread.currentThread()) { throw new IllegalStateException("Another thread holds the state lock."); } DefaultResourceLockState previousState = currentState; this.currentState = newState; return previousState; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 17:16:10 UTC 2024 - 11.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc
op->getLoc(), permute_attr.getType(), permute_attr); llvm::SmallVector<int64_t, 2> new_shape{type.getShape()[1], type.getShape()[0]}; auto output = rewriter.create<TFL::TransposeOp>( op->getLoc(), RankedTensorType::get(new_shape, type.getElementType()), input, permute); return {success(), output}; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 20:06:54 UTC 2024 - 45.2K bytes - Viewed (0) -
tensorflow/c/ops_test.cc
ASSERT_EQ(TF_OK, TF_GetCode(status)); TF_ShapeHandle* new_shape = TF_ShapeInferenceContextVectorFromSize( ctx, TF_ShapeInferenceContextRank(ctx, handle)); TF_ShapeInferenceContextSetOutput(ctx, 0, new_shape, status); TF_DeleteShapeHandle(handle); TF_DeleteShapeHandle(new_shape); } TEST(OpsTest, TestShapeInference_VectorizeFunction) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 11 01:20:50 UTC 2021 - 12.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/push_transpose_through_ewise.cc
llvm::ArrayRef<int32_t> perm) { llvm::SmallVector<int64_t> new_shape(shape.size()); for (const auto &perm_element : enumerate(perm)) { new_shape[perm_element.index()] = shape[perm_element.value()]; } return new_shape; } // Determine if op commutes with transposes. Requires a strict // definition of Elementwise, all i/o shapes and types must be same-rank
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.5K bytes - Viewed (0) -
internal/grid/connection.go
defer cancel() changed := make(chan State, 1) go func() { defer xioutil.SafeClose(changed) for { c.connChange.Wait() newState := c.State() select { case changed <- newState: if newState == StateConnected || newState == StateShutdown { c.connChange.L.Unlock() return } case <-ctx.Done(): c.connChange.L.Unlock() return } } }()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 44.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueState.java
public abstract class ValueState<S> { private static final ValueState<Object> FINALIZED_VALUE = new FinalizedValue<>(); /** * Creates a new non-finalized state. */ public static <S> ValueState<S> newState(PropertyHost host) { return new ValueState.NonFinalizedValue<>(host, Function.identity()); } /** * Creates a new non-finalized state. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 13.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 02:10:16 UTC 2024 - 43.2K bytes - Viewed (0) -
src/cmd/trace/gstate.go
startCause struct { time trace.Time name string resource uint64 stack trace.Stack } } // newGState constructs a new goroutine state for the goroutine // identified by the provided ID. func newGState[R resource](goID trace.GoID) *gState[R] { return &gState[R]{ baseName: fmt.Sprintf("G%d", goID), executing: R(noResource),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 11.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc
if (!first->hasOneUse() || !second->hasOneUse()) return rewriter.notifyMatchFailure(concat, "slice ops are used elsewhere"); SmallVector<int64_t> new_start; SmallVector<int64_t> new_limit; SmallVector<int64_t> new_slice_shape; new_start.reserve(first.getStrides().size()); new_limit.reserve(first.getStrides().size()); new_slice_shape.reserve(first.getStrides().size());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 26.9K bytes - Viewed (0)