Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 657 for const2 (1.3 sec)

  1. src/go/types/issues_test.go

    	// Cannot use typecheck helper.
    	fset := token.NewFileSet()
    	f := mustParse(fset, src)
    
    	const want = `L3 defs func p._()
    L4 defs const w untyped int
    L5 defs var x int
    L5 defs var y int
    L6 defs var z int
    L6 uses const w untyped int
    L6 uses var x int
    L7 uses var x int
    L7 uses var y int
    L7 uses var z int`
    
    	// don't abort at the first error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf.cc

    absl::StatusOr<tensorflow::XlaCompilationResult> LegalizeMlirToHlo(
        const std::variant<tpu::MlirToHloArgs, tpu::FunctionToHloArgs>& computation,
        const tpu::TPUCompileMetadataProto& metadata, bool use_tuple_args,
        llvm::StringRef device_type,
        std::vector<std::unique_ptr<mlir::Pass>>& custom_legalization_passes,
        XlaShapeLayoutHelpers::ShapeDeterminationFns shape_determination_fns,
        const std::vector<tensorflow::TensorShape>& arg_shapes,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 00:40:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/node_matchers_test.cc

      Output const_0d = ops::Const(root.WithOpName("const_0d"), 42);
    
      Output const_2d = ops::Const(root.WithOpName("const_2d"), {{1, 2}, {4, 3}});
    
      EXPECT_THAT(const_0d.node(), NodeWith(ConstantValue(42)));
      EXPECT_THAT(const_0d.node(), NodeWith(ConstantValue(42), Name("const_0d")));
    
      EXPECT_THAT(const_2d.node(), NodeWith(ConstantValue({{1, 2}, {4, 3}})));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 14:43:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. src/crypto/tls/common_string.go

    	_ = x[PSSWithSHA512-2054]
    	_ = x[ECDSAWithP256AndSHA256-1027]
    	_ = x[ECDSAWithP384AndSHA384-1283]
    	_ = x[ECDSAWithP521AndSHA512-1539]
    	_ = x[Ed25519-2055]
    	_ = x[PKCS1WithSHA1-513]
    	_ = x[ECDSAWithSHA1-515]
    }
    
    const (
    	_SignatureScheme_name_0 = "PKCS1WithSHA1"
    	_SignatureScheme_name_1 = "ECDSAWithSHA1"
    	_SignatureScheme_name_2 = "PKCS1WithSHA256"
    	_SignatureScheme_name_3 = "ECDSAWithP256AndSHA256"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/issues_test.go

    func TestIssue7827(t *testing.T) {
    	const src = `
    package p
    func _() {
    	const w = 1        // defs w
            x, y := 2, 3       // defs x, y
            w, x, z := 4, 5, 6 // uses w, x, defs z; error: cannot assign to w
            _, _, _ = x, y, z  // uses x, y, z
    }
    `
    	const want = `L3 defs func p._()
    L4 defs const w untyped int
    L5 defs var x int
    L5 defs var y int
    L6 defs var z int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

      return compile_mlir_result.status();
    }
    
    absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>> GraphToModule(
        bool unconditionally_use_set_output_shapes, const Graph& graph,
        llvm::ArrayRef<std::string> control_rets,
        const FunctionLibraryDefinition& flib_def, const GraphDebugInfo& debug_info,
        mlir::MLIRContext* context) {
      mlir::DialectRegistry registry;
      RegisterDialects(registry);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  7. src/go/types/api_test.go

    		val  string // constant value
    	}{
    		{`package a0; const _ = false`, `false`, `untyped bool`, `false`},
    		{`package a1; const _ = 0`, `0`, `untyped int`, `0`},
    		{`package a2; const _ = 'A'`, `'A'`, `untyped rune`, `65`},
    		{`package a3; const _ = 0.`, `0.`, `untyped float`, `0`},
    		{`package a4; const _ = 0i`, `0i`, `untyped complex`, `(0 + 0i)`},
    		{`package a5; const _ = "foo"`, `"foo"`, `untyped string`, `"foo"`},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/tf_stablehlo_pass.cc

      }
    
      TFToMhloPass(const TFToMhloPass &pass) {
        skip_quantization_ops_ = pass.skip_quantization_ops_;
        skip_resize_ = pass.skip_resize_;
        skip_partitioned_calls_ = pass.skip_partitioned_calls_;
      }
    
     private:
      void runOnOperation() override;
    
      void getDependentDialects(DialectRegistry &registry) const override {
        mlir::mhlo::registerAllMhloDialects(registry);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptEvaluator.kt

            companion object {
                const val JVM_TARGET = "jvmTarget"
                const val ALL_WARNINGS_AS_ERRORS = "allWarningsAsErrors"
                const val SKIP_METADATA_VERSION_CHECK = "skipMetadataVersionCheck"
                const val TEMPLATE_ID = "templateId"
                const val SOURCE_HASH = "sourceHash"
                const val COMPILATION_CLASS_PATH = "compilationClassPath"
                const val ACCESSORS_CLASS_PATH = "accessorsClassPath"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 10:23:24 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/JavaObjectSerializationCodecTest.kt

            companion object {
    
                const val EXPECTED_SHORT: Short = Short.MAX_VALUE
    
                const val EXPECTED_BYTE: Byte = 42
    
                const val EXPECTED_INT: Int = 42
    
                const val EXPECTED_LONG: Long = 42L
    
                const val EXPECTED_STRING: String = "42"
    
                const val EXPECTED_FLOAT: Float = 1.618f
    
                const val EXPECTED_DOUBLE: Double = Math.PI
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top