Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 274 for mkbuiltin (0.28 sec)

  1. src/cmd/compile/internal/types2/operand.go

    type operandMode byte
    
    const (
    	invalid   operandMode = iota // operand is invalid
    	novalue                      // operand represents no value (result of a function call w/o result)
    	builtin                      // operand is a built-in function
    	typexpr                      // operand is a type
    	constant_                    // operand is a constant; the operand's typ is a Basic type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/executor_island_materialize_const.mlir

    // RUN: tf-opt %s -pass-pipeline='builtin.module(func.func(canonicalize))' | FileCheck %s
    
    // Test that a constant stays inside an island after canonicalization
    
    // CHECK-LABEL: func @constant_in_island
    func.func @constant_in_island(%arg0 : tensor<i1>) -> tensor<f32> {
      %0 = tf_executor.graph {
    // CHECK: tf_executor.island
    // CHECK: tf.Const{{.*}}2.0
        %1:2 = tf_executor.island {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Nov 04 14:07:37 UTC 2022
    - 854 bytes
    - Viewed (0)
  3. test/fixedbugs/issue7272.go

    // compile
    
    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 7272: test builtin functions in statement context and in
    // go/defer functions.
    
    package p
    
    func F() {
    	var a []int
    	var c chan int
    	var m map[int]int
    
    	close(c)
    	copy(a, a)
    	delete(m, 0)
    	panic(0)
    	print("foo")
    	println("bar")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 763 bytes
    - Viewed (0)
  4. test/fixedbugs/issue5793.go

    // run
    
    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 5793: calling 2-arg builtin with multiple-result f() call expression gives
    // spurious error.
    
    package main
    
    func complexArgs() (float64, float64) {
    	return 5, 7
    }
    
    func appendArgs() ([]string, string) {
    	return []string{"foo"}, "bar"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 793 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/hashtable_resource.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -emit-custom-ops -emit-builtin-tflite-ops=false -o - | flatbuffer_to_string - | FileCheck %s
    
    // CHECK: {
    // CHECK:  version: 3,
    // CHECK:  operator_codes: [ {
    // CHECK:    deprecated_builtin_code: 32,
    // CHECK:    custom_code: "HashTableV2",
    // CHECK:    builtin_code: CUSTOM
    // CHECK: } ],
    // CHECK: subgraphs: [ {
    // CHECK:   tensors: [ {
    // CHECK:     shape: [  ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 07:31:32 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/api.go

    func (tv TypeAndValue) IsType() bool {
    	return tv.mode == typexpr
    }
    
    // IsBuiltin reports whether the corresponding expression denotes
    // a (possibly parenthesized) built-in function.
    func (tv TypeAndValue) IsBuiltin() bool {
    	return tv.mode == builtin
    }
    
    // IsValue reports whether the corresponding expression is a value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/functional-control-flow-to-regions.mlir

    // -----
    
    // CHECK-LABEL: func @init
    func.func @init(%arg0: tensor<4xf32>) -> tensor<7xf32> {
        %0 = builtin.unrealized_conversion_cast to tensor<7xf32>
        return %0 : tensor<7xf32>
    }
    
    // CHECK-LABEL: func @next
    func.func @next(%arg0: tensor<7xf32>, %arg1: tensor<3xf32>) -> tensor<6xf32> {
        %0 = builtin.unrealized_conversion_cast to tensor<6xf32>
        return %0 : tensor<6xf32>
    }
    
    // CHECK-LABEL: func @finalize
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 06 21:59:28 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/compile.go

    	{"generic deadcode", "check bce"},
    	// decompose builtin now also cleans up after expand calls
    	{"expand calls", "decompose builtin"},
    	// don't run optimization pass until we've decomposed builtin objects
    	{"decompose builtin", "late opt"},
    	// decompose builtin is the last pass that may introduce new float ops, so run softfloat after it
    	{"decompose builtin", "softfloat"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/region-control-flow-to-functional.mlir

      %0 = builtin.unrealized_conversion_cast to tensor<7xf32>
      return %0 : tensor<7xf32>
    }
    func.func @next(%arg0: tensor<7xf32>, %arg1: tensor<3xf32>) -> tensor<6xf32> {
      %0 = builtin.unrealized_conversion_cast to tensor<6xf32>
      return %0 : tensor<6xf32>
    }
    func.func @finalize(%arg0: tensor<6xf32>, %arg1: tensor<2xf32>) -> tensor<5xf32> {
      %0 = builtin.unrealized_conversion_cast to tensor<5xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 02 11:15:34 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/low_bit_packing.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -emit-custom-ops -emit-builtin-tflite-ops=false -o - | flatbuffer_to_string - | FileCheck %s
    
    func.func @main() -> tensor<4xi4> {
      // CHECK: {
      // CHECK:   version: 3,
      // CHECK:   operator_codes: [  ],
      // CHECK:   subgraphs: [ {
      // CHECK:     tensors: [ {
      // CHECK:       shape: [ 4 ],
      // CHECK:       type: INT4,
      // CHECK:       buffer: 1,
      // CHECK:       name: "Const",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 12 20:13:51 UTC 2022
    - 1.4K bytes
    - Viewed (0)
Back to top