Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,966 for vfunc (0.06 sec)

  1. tensorflow/compiler/mlir/tensorflow/g3doc/space_to_depth.md

    ```mlir
    // Example: original program:
    //
    module {
       func @while_body {
         %input = "tf.IteratorGetNext"(...) {device = "/CPU:0"}:
                  -> tensor<2x224x224x3xf32>
         %device_launch = "tf_device.launch_func"(%input,...) {func = @_func,...)
         return ...
       }
       func @_func(%input: tensor<2x224x224x3xf32>,
                   %filter: tensor<7x7x3x64xf32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Oct 24 02:51:43 UTC 2020
    - 8.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testplugin/testdata/plugin2/plugin2.go

    // license that can be found in the LICENSE file.
    
    package main
    
    //#include <errno.h>
    //#include <string.h>
    import "C"
    
    // #include
    // void cfunc() {} // uses cgo_topofstack
    
    import (
    	"reflect"
    	"strings"
    
    	"testplugin/common"
    )
    
    func init() {
    	_ = strings.NewReplacer() // trigger stack unwind, Issue #18190.
    	C.strerror(C.EIO)         // uses cgo_topofstack
    	common.X = 2
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 796 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-func-attr.pbtxt

    # CHECK-LABEL:       func @main() {
    
    # Verify that the NameAttrList is properly turned into reference to functions on import
    # CHECK:    tf.Case
    # CHECK-SAME: branches = [@[[FOO:[a-z0-9]+]], @[[BAR:[a-z0-9]+]]]
    # CHECK-DAG:  func private @[[FOO]]()
    # CHECK-DAG:  func private @[[BAR]]()
    
    node {
      name: "predicate"
      op: "Const"
      attr {
        key: "dtype"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 11 19:14:04 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  4. test/fixedbugs/issue13268.go

    package main
    
    import (
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"strings"
    )
    
    func main() {
    	// create source
    	f, err := ioutil.TempFile("", "issue13268-")
    	if err != nil {
    		log.Fatalf("could not create source file: %v", err)
    	}
    	f.Write([]byte("package p\n\nfunc \xef\xef")) // if this fails, we will die later
    	f.Close()
    	defer os.Remove(f.Name())
    
    	// compile and test output
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 984 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types/kind_string.go

    	_ = x[TINT-9]
    	_ = x[TUINT-10]
    	_ = x[TUINTPTR-11]
    	_ = x[TCOMPLEX64-12]
    	_ = x[TCOMPLEX128-13]
    	_ = x[TFLOAT32-14]
    	_ = x[TFLOAT64-15]
    	_ = x[TBOOL-16]
    	_ = x[TPTR-17]
    	_ = x[TFUNC-18]
    	_ = x[TSLICE-19]
    	_ = x[TARRAY-20]
    	_ = x[TSTRUCT-21]
    	_ = x[TCHAN-22]
    	_ = x[TMAP-23]
    	_ = x[TINTER-24]
    	_ = x[TFORW-25]
    	_ = x[TANY-26]
    	_ = x[TSTRING-27]
    	_ = x[TUNSAFEPTR-28]
    	_ = x[TIDEAL-29]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:38 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/token_string.go

    	_ = x[_Break-22]
    	_ = x[_Case-23]
    	_ = x[_Chan-24]
    	_ = x[_Const-25]
    	_ = x[_Continue-26]
    	_ = x[_Default-27]
    	_ = x[_Defer-28]
    	_ = x[_Else-29]
    	_ = x[_Fallthrough-30]
    	_ = x[_For-31]
    	_ = x[_Func-32]
    	_ = x[_Go-33]
    	_ = x[_Goto-34]
    	_ = x[_If-35]
    	_ = x[_Import-36]
    	_ = x[_Interface-37]
    	_ = x[_Map-38]
    	_ = x[_Package-39]
    	_ = x[_Range-40]
    	_ = x[_Return-41]
    	_ = x[_Select-42]
    	_ = x[_Struct-43]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 29 02:28:24 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/mlir_passthrough_op.pbtxt

          }
        }
      }
      attr {
        key: "Toutputs"
        value {
          list {
            type: DT_FLOAT
          }
        }
      }
      attr {
        key: "mlir_module"
        value {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-input-func-arg-name-collision.pbtxt

    # This check that we don't error out when importing GraphDef containing
    # functions with arg name that are the same as the graph input name
    
    # CHECK: func @main(%arg0: tensor<{{.*}}i32>) -> tensor<{{.*}}i32>
    # CHECK: func private @while_body
    # CHECK: func private @while_cond
    
    node {
      name: "input"
      op: "Placeholder"
      attr {
        key: "_user_specified_name"
        value {
          s: "input"
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 11 19:14:04 UTC 2020
    - 4.8K bytes
    - Viewed (0)
  9. src/runtime/start_line_test.go

    }
    
    //go:noinline
    func multilineDeclarationFunc1(
    	a, b, c int) int {
    	return callerStartLine(false)
    }
    
    func blankLinesFunc() int {
    
    	// Some
    	// lines
    	// without
    	// code
    
    	return callerStartLine(false)
    }
    
    func inlineFunc() int {
    	return inlineFunc1()
    }
    
    func inlineFunc1() int {
    	return callerStartLine(true)
    }
    
    var closureFn func() int
    
    func normalClosure() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 20 22:54:22 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/preserve-entry-func-names.mlir

    // RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s
    
    func.func @main(%arg0: tensor<10xi32>, %arg1: tensor<10xi32>) -> tensor<10xi32>
    attributes {tf.entry_function = {inputs = "foo,bar", outputs = "Add"}} {
      %graph = tf_executor.graph {
        // This node would be renamed to bar1 [note: if imported from TF graphdef this would not be possible]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 22:54:55 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top