Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for variadicOk (0.15 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool_patterns.td

    // ops that match the behaviour of tfl.average_pool_2d are directly lowered.
    def LegalizeAvgPool2dComposite: Pat<
                        (MHLO_CompositeOp:$old_val
                        (variadic $a_input), 
                        ConstantStrAttr<StrAttr, "aten.avg_pool2d.default">, $attrs, $_, $_),
                        (TFL_TransposeOp 
                            (TFL_AveragePool2DOp 
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. test/fixedbugs/gcc61255.go

    // compile
    
    // Copyright 2014 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.
    
    // PR61255: gccgo failed to compile IncDec statements on variadic functions.
    
    package main
    
    func main() {
    	append([]byte{}, 0)[0]++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 306 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/ir/gpu_ops.td

      }];
    
      let arguments = (ins
        Variadic<TFTensorType>:$operands,
        StrAttr:$func_name,
        I64ArrayAttr:$resource_indices,
        I64ArrayAttr:$used_output_indices
      );
      let results = (outs
        Variadic<TFTensorType>:$results
      );
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. test/ddd2.go

    // rundir
    
    // Copyright 2010 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.
    
    // Test that variadic functions work across package boundaries.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 252 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_tpu_ops.td

      }];
      let arguments = (ins
        Variadic<TFTensorType>:$operands_and_static_shapes,
        DenseI32ArrayAttr:$constant_operand_indices,
        StrAttr:$metadata,
        StrAttr:$mlir_module,
        UI32Attr:$num_operands,
        DenseI32ArrayAttr:$operands_with_static_shape,
        StrAttr:$producer_name
      );
    
      let results = (outs
        TFTensorType:$rendezvous_key_base,
        Variadic<MlrtFutureType>:$results
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 04 21:25:31 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. test/inline_variadic.go

    // errorcheck -0 -m
    
    // Copyright 2016 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.
    
    // Test inlining of variadic functions.
    // See issue #18116.
    
    package foo
    
    func head(xs ...string) string { // ERROR "can inline head" "leaking param: xs to result"
    	return xs[0]
    }
    
    func f() string { // ERROR "can inline f"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 26 23:50:45 UTC 2021
    - 513 bytes
    - Viewed (0)
  7. test/ddd2.dir/ddd3.go

    // Copyright 2010 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.
    
    // Test that variadic functions work across package boundaries.
    
    package main
    
    import "./ddd2"
    
    func main() {
    	if x := ddd.Sum(1, 2, 3); x != 6 {
    		println("ddd.Sum 6", x)
    		panic("fail")
    	}
    	if x := ddd.Sum(); x != 0 {
    		println("ddd.Sum 0", x)
    		panic("fail")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 583 bytes
    - Viewed (0)
  8. test/fixedbugs/issue45913.go

    package main
    
    import (
    	"fmt"
    )
    
    func f(s1, s2 string) { fmt.Printf("%s %s", s1, s2) }
    
    func main() {
    	f([2]string{"a", "b"}...) // ERROR "invalid use of .*[.][.][.]|cannot use [.][.][.] in call to non-variadic"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 03 15:03:57 UTC 2021
    - 389 bytes
    - Viewed (0)
  9. src/reflect/makefunc.go

    //
    // The implementation fn can assume that the argument [Value] slice
    // has the number and type of arguments given by typ.
    // If typ describes a variadic function, the final Value is itself
    // a slice representing the variadic arguments, as in the
    // body of a variadic function. The result Value slice returned by fn
    // must have the number and type of results given by typ.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:20:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. test/fixedbugs/issue30898.go

    // errorcheck -0 -m
    
    // Copyright 2019 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.
    
    // Test escape analysis for functions with variadic arguments
    
    package foo
    
    func debugf(format string, args ...interface{}) { // ERROR "can inline debugf" "format does not escape" "args does not escape"
    	// Dummy implementation for non-debug build.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 26 23:50:45 UTC 2021
    - 676 bytes
    - Viewed (0)
Back to top