- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 88 for new_state (0.32 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.h
OperationState new_state(candidate_op->getLoc(), candidate_op->getName().getStringRef(), inputs, output_types, candidate_op->getAttrs()); for (int i = 0; i < candidate_op->getNumRegions(); ++i) { new_state.addRegion(); } Operation* quantized_op = rewriter.create(new_state); if (candidate_op->getNumRegions() != 0) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.cc
} // Save the new state value to the resource. pack_args.push_back(key); Value new_state = rewriter.create<PackOp>(loc, res_type, pack_args); rewriter.create<AssignVariableOp>(loc, rng_op.getResource(), new_state); // Pad the original state as necessary to fill the output shape. int pad = tensorflow::RNG_MAX_COUNTER_SIZE - counter_size;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 8.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h
OperationState new_state(quantizing_op->getLoc(), quantizing_op->getName().getStringRef(), inputs, output_types, quantizing_op->getAttrs()); for (int i = 0; i < quantizing_op->getNumRegions(); ++i) { new_state.addRegion(); } Operation* quantized_op = rewriter.create(new_state); if (quantizing_op->getNumRegions() != 0) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:30:06 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc
OperationState new_state(quantizing_op->getLoc(), quantizing_op->getName().getStringRef(), inputs, output_types, quantizing_op->getAttrs()); for (int i = 0; i < quantizing_op->getNumRegions(); ++i) { new_state.addRegion(); } Operation* quantized_op = rewriter.create(new_state); if (quantizing_op->getNumRegions() != 0) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 05:52:39 UTC 2024 - 23.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc
OperationState new_state(op_with_region->getLoc(), op_with_region->getName().getStringRef(), inputs, output_types, op_with_region->getAttrs()); for (int i = 0; i < op_with_region->getNumRegions(); ++i) { new_state.addRegion(); } Operation* quantized_op = rewriter.create(new_state); for (const auto& [index, region] :
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 06:04:36 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc
Location loc = call_op.getLoc(); rewriter.setInsertionPointAfter(call_op); std::string tf_op_name = GetTFOpName(call_op.getCallee()); OperationState new_state(loc, tf_op_name, inputs, output_types, attr_list); Operation* new_op = rewriter.create(new_state); if (materialize_derived_attrs_) { for (const auto& attr : derived_attrs) { // Add or update the derived attribute with the value. Skip the fixed
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc
auto shape = mlir::cast<ShapedType>(value.getType()); if (shape.getRank() != 1) { SmallVector<int64_t> new_shape; new_shape.push_back(shape.getNumElements()); value = builder.create<TF::ReshapeOp>( loc, value, Create1DConstValue(builder, loc, new_shape)); } return ConstantFoldOpIfPossible(value.getDefiningOp()).front(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 13.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/term/term_unix.go
termios, err := unix.IoctlGetTermios(fd, ioctlReadTermios) if err != nil { return nil, err } newState := *termios newState.Lflag &^= unix.ECHO newState.Lflag |= unix.ICANON | unix.ISIG newState.Iflag |= unix.ICRNL if err := unix.IoctlSetTermios(fd, ioctlWriteTermios, &newState); err != nil { return nil, err } defer unix.IoctlSetTermios(fd, ioctlWriteTermios, termios)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/CompilationStateSerializerTest.groovy
def state = compilationState(fileStates) then: def newState = serialized(state) newState.fileStates.size() == 2 def emptyCompileState = newState.getState(fileEmpty) emptyCompileState.hash == TestHashCodes.hashCodeFrom(0x12345678) emptyCompileState.edges.empty def otherCompileState = newState.getState(fileTwo)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/filelock/LockFileAccess.java
LockState newState = lockState.completeUpdate(); lockStateAccess.writeState(lockFileAccess, newState); return newState; } public LockState markDirty(LockState lockState) throws IOException { LockState newState = lockState.beforeUpdate(); lockStateAccess.writeState(lockFileAccess, newState); return newState; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 3.1K bytes - Viewed (0)