Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 642 for aConstant (0.2 sec)

  1. src/runtime/runtime-gdb_test.go

    	for _, name := range types {
    		if !strings.Contains(sgot, name) {
    			t.Fatalf("could not find %s in 'info typrs astruct' output", name)
    		}
    	}
    }
    
    const constsSource = `
    package main
    
    const aConstant int = 42
    const largeConstant uint64 = ^uint64(0)
    const minusOne int64 = -1
    
    func main() {
    	println("hello world")
    }
    `
    
    func TestGdbConst(t *testing.T) {
    	checkGdbEnvironment(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/constant-fold.mlir

    func.func @testConcatOffsetWithZeros() -> (tensor<3xi32>, tensor<3xi32>, tensor<3xi32>, tensor<3xi32>) {
      %concat_dim = arith.constant dense<1> : tensor<i32>
      %shape0 = arith.constant dense<0> : tensor<3xi32>
      %shape1 = arith.constant dense<[0, 3, 0]> : tensor<3xi32>
      %shape2 = arith.constant dense<[0, 5, 0]> : tensor<3xi32>
      %shape3 = arith.constant dense<0> : tensor<3xi32>
    
      // CHECK-DAG: [[OFFSET_0:%.*]] = "tf.Const{{.*}} dense<0> : tensor<3xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 31 23:22:24 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/saved_model/core/saved_model_utils.cc

          objects->variables[i] = std::move(variable);
        } else if (node.kind_case() == SavedObject::kConstant) {
          std::unique_ptr<Constant> constant;
          TF_RETURN_IF_ERROR(ConstantFromSavedConstant(context, node.constant(),
                                                       node_attr_map, &constant));
          objects->constants[i] = std::move(constant);
        } else if (node.kind_case() == SavedObject::kAsset) {
          std::unique_ptr<Asset> asset;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 19:17:46 UTC 2023
    - 24K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant.mlir

      %in = arith.constant dense<0.0> : tensor<8xf32>
      %min = arith.constant dense<0.0> : tensor<f32>
      %max = arith.constant dense<255.0> : tensor<f32>
      %rst = "tf.FakeQuantWithMinMaxVars"(%in, %min, %max) {num_bits = 5, narrow_range = false} : (tensor<8xf32>, tensor<f32>, tensor<f32>) -> tensor<8xf32>
      func.return %rst : tensor<8xf32>
    
    // CHECK: %[[CONSTANT:.*]] = arith.constant dense<0.000000e+00> : tensor<8xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant-4bit.mlir

      %in = arith.constant dense<0.0> : tensor<8xf32>
      %min = arith.constant dense<0.0> : tensor<f32>
      %max = arith.constant dense<15.0> : tensor<f32>
      %rst = "tf.FakeQuantWithMinMaxVars"(%in, %min, %max) {num_bits = 3, narrow_range = false} : (tensor<8xf32>, tensor<f32>, tensor<f32>) -> tensor<8xf32>
      func.return %rst : tensor<8xf32>
    
    // CHECK: %[[CONSTANT:.*]] = arith.constant dense<0.000000e+00> : tensor<8xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 22K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/const-fold.mlir

      %0 = arith.constant dense<8> : tensor<i32>
      %1 = arith.constant dense<1> : tensor<i32>
    
      %2 = arith.constant dense< 4> : tensor<4xi32>
      %3 = arith.constant dense<-2> : tensor<4xi32>
    
      // CHECK-DAG: %[[CST:.*]] = arith.constant dense<9> : tensor<i32>
      // CHECK-DAG: %[[CST_0:.*]]  = arith.constant dense<6> : tensor<4xi32>
      // CHECK-DAG: %[[CST_1:.*]]  = arith.constant dense<5> : tensor<4xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/prepare-quantize-signed.mlir

        layerStats = dense<[-1.28e-5, 1.27e-5]> : tensor<2xf32>
      } : (tensor<1x5x5x2xf32>) -> tensor<1x5x5x2xf32>
      %w = arith.constant dense<[[[[-1.0, 1.0]]], [[[1.0, 2.0]]], [[[-2.0, 1.0]]]]> : tensor<3x1x1x2xf32>
      %b = arith.constant dense<0.0> : tensor<3xf32>
      %b2 = arith.constant dense<[1.0e-2, 2.1473647e1, -2.1473647e2]> : tensor<3xf32>
      %conv = "tfl.conv_2d"(%0, %w, %b) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. src/runtime/mgcpacer_test.go

    			// Growth to an O(MiB) heap, then constant heap size, alloc/scan rates.
    			name:          "Steady",
    			gcPercent:     100,
    			memoryLimit:   math.MaxInt64,
    			globalsBytes:  32 << 10,
    			nCores:        8,
    			allocRate:     constant(33.0),
    			scanRate:      constant(1024.0),
    			growthRate:    constant(2.0).sum(ramp(-1.0, 12)),
    			scannableFrac: constant(1.0),
    			stackBytes:    constant(8192),
    			length:        50,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 13:53:21 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/tests/compose-uniform-quantized-type.mlir

        %1 = stablehlo.constant dense<1.000000e+03> : tensor<1x1x1x1xf32>  // Input inverse scale.
        %2 = stablehlo.constant dense<-128> : tensor<1x1x1x1xi8>  // Input zero point.
        %3 = stablehlo.constant dense<1> : tensor<3x3x4x4xi8>  // Quantized filter tensor.
        %4 = stablehlo.constant dense<3.000000e+03> : tensor<1x1x1x4xf32>
        %5 = stablehlo.constant dense<4.000000e+03> : tensor<1x1x1x1xf32>  // Output inverse scale.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 37K bytes
    - Viewed (0)
  10. src/cmd/internal/dwarf/dwarf_defs.go

    	DW_AT_call_column    = 0x57 // constant
    	DW_AT_call_file      = 0x58 // constant
    	DW_AT_call_line      = 0x59 // constant
    	DW_AT_description    = 0x5a // string
    	DW_AT_binary_scale   = 0x5b // constant
    	DW_AT_decimal_scale  = 0x5c // constant
    	DW_AT_small          = 0x5d // reference
    	DW_AT_decimal_sign   = 0x5e // constant
    	DW_AT_digit_count    = 0x5f // constant
    	DW_AT_picture_string = 0x60 // string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 15:55:36 UTC 2019
    - 16.1K bytes
    - Viewed (0)
Back to top