- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 2,149 for constInt8 (0.28 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.mlir
// CHECK: %[[CONSTANT_0:.*]] = stablehlo.constant dense<1.000000e+03> : tensor<1024x3xf32> // CHECK: %[[CONSTANT_1:.*]] = stablehlo.constant dense<1.000000e+03> : tensor<1x3xf32> // CHECK: return // CHECK: } // CHECK: func private @_stablehlo_main_0 // CHECK: %[[CONSTANT_0:.*]] = stablehlo.constant dense<1.000000e+03> : tensor<3x64xf32> // CHECK: %[[CONSTANT_1:.*]] = stablehlo.constant dense<1.000000e+03> : tensor<1x64xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 01:09:50 UTC 2024 - 39.8K 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) -
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) -
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/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/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) -
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) -
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)