- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 2,148 for Constant2 (0.34 sec)
-
tensorflow/compiler/mlir/lite/quantization/ir/Passes.h
std::unique_ptr<OperationPass<func::FuncOp>> createConvertSimulatedQuantPass(); /// Creates a pass that converts constants followed by a qbarrier to a /// constant whose value is quantized. This is typically one of the last /// passes done when lowering to express actual quantized arithmetic in a /// low level representation. Because it modifies the constant, it is /// destructive and cannot be undone.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jul 29 18:55:28 UTC 2022 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/jit/clone_constants_for_better_clustering.h
// will let us create one cluster containing {Const/copy_0, GPU_1} and // another containing {Const/copy_1, GPU_0_X, GPU_0_Y}. // // We only clone small host constants now to avoid increasing memory consumption // too much. Moreover, in practice the constants we have to duplicate are // things like the `perm` input to `Transpose` and the `size` input to `Slice` // which tend to be small anyway.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 19 23:57:44 UTC 2023 - 2.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt
import org.jetbrains.kotlin.psi.KtElement import org.jetbrains.kotlin.resolve.constants.evaluate.CompileTimeType import org.jetbrains.kotlin.resolve.constants.evaluate.evalBinaryOp import org.jetbrains.kotlin.resolve.constants.evaluate.evalUnaryOp import org.jetbrains.kotlin.types.ConstantValueKind /** * An evaluator that transform numeric operation, such as div, into compile-time constant iff involved operands, such as explicit receiver
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Jun 07 11:53:09 UTC 2024 - 16.2K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue7234_test.go
// test of https://golang.org/issue/7234, a compiler/linker bug in // handling string constants when using -linkmode=external. The test // is in this directory because we routinely test -linkmode=external // here. var v7234 = [...]string{"runtime/cgo"} func Test7234(t *testing.T) { if v7234[0] != "runtime/cgo" { t.Errorf("bad string constant %q", v7234[0]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 634 bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td
(HasOneUse $input_neg_out)]>; // The constant folding in this pass might produce constant in the tf dialect. // This rule is to legalize these constant to the tfl dialect. def LegalizeConstOp : Pat< (TF_ConstOp ElementsAttr:$value), (TFL_ConstOp $value)>; // Reorders adds to allow constant folding. // Add --> Add $input, $constantA // \--> $constantB // To // Add --> $input
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 66.4K bytes - Viewed (0) -
tensorflow/cc/saved_model/testdata/generate_chunked_models.py
from tensorflow.tools.proto_splitter import constants from tensorflow.tools.proto_splitter.python import saved_model as proto_splitter SPLITTER_TESTDATA_PATH = flags.DEFINE_string( "path", None, help="Path to testdata directory.") def generate_non_chunked_model(non_chunked_dir: str): root = module.Module() root.c = constant_op.constant(np.random.random_sample([150, 150])) constants.debug_set_max_size(80000)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 21:43:11 UTC 2023 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.td
the second argument is the zero point constant (element type: int) and the third argument is the inverse scale constant (element type: float). * A tensor is dequantized using a `func::FuncOp` whose name contains "uniform_dequantize". The first argument is the tensor to be quantized, the second argument is the zero point constant (element type: int) and
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 21:59:06 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_to_hlo_pipeline/sccp-post-shape-inference.mlir
// RUN: tf-opt -tf-to-hlo-pipeline %s | FileCheck %s // Verifies that constants generated post shape inference are propagated. // get_shape result in this test. module attributes {tf.versions = {producer = 179 : i32}} { // CHECK-LABEL: func @main func.func @main(%arg0: tensor<10x19xf32>, %arg1: tensor<19x10xf32> {mhlo.is_same_data_across_replicas = true}) -> tensor<?xi64> { %0 = "tf.Shape"(%arg0) : (tensor<10x19xf32>) -> tensor<2xi64>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jul 25 02:54:34 UTC 2023 - 1020 bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/signature_def_output_override.mlir
// CHECK-NEXT: shape: [ 5 ], // CHECK-NEXT: buffer: 3, // CHECK-NEXT: name: "arith.constant", // CHECK-NEXT: quantization: { // CHECK-EMPTY: // CHECK-NEXT: }, // CHECK-NEXT: has_rank: true // CHECK-NEXT: }, { // CHECK-NEXT: shape: [ 5, 3 ], // CHECK-NEXT: buffer: 4, // CHECK-NEXT: name: "arith.constant1", // CHECK-NEXT: quantization: { // CHECK-EMPTY: // CHECK-NEXT: },
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 14 16:41:28 UTC 2022 - 4.5K bytes - Viewed (0) -
test/codegen/math.go
// s390x:"MOV(B|BZ|D)\t[$]1,",-"FCMPU",-"MOV(B|BZ|D)\t[$]0," return float32(0.5) <= float32(int64(1)) && float32(1.5) >= float32(int32(-1<<31)) } // Test that integer constants are converted to floating point constants // at compile-time func constantConvert32(x float32) float32 { // amd64:"MOVSS\t[$]f32.3f800000\\(SB\\)" // s390x:"FMOVS\t[$]f32.3f800000\\(SB\\)"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 15:24:29 UTC 2024 - 6.2K bytes - Viewed (0)