Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 117 for cfunc (0.06 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/convert_attr.cc

      switch (value.value_case()) {
        case AttrValue::kFunc: {
          // TODO(b/156546237): Unify kFunc/NameAttrList attribute representation.
          // Currently kFunc/NameAttrList attributes in a kList/repeated AttrValue
          // will not use this representation.
          mlir::NamedAttrList attrs;
          for (const auto& func_attr : value.func().attr()) {
            TF_ASSIGN_OR_RETURN(auto attr,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. test/fixedbugs/issue33866.dir/b.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package b
    
    import "./a"
    
    type (
    	ABuilder = a.Builder
    )
    
    func Bfunc() ABuilder {
    	return ABuilder{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 06 12:11:17 UTC 2019
    - 262 bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/pcln.go

    //	   filename[0]
    //	   filename[1]
    //
    // Looking up a filename then becomes:
    //  0. Given a func, and filename index [K]
    //  1. Get Func.CUIndex:       M := func.cuOffset
    //  2. Find filename offset:   fileOffset := runtime.cutab[M+K]
    //  3. Get the filename:       getcstring(runtime.filetab[fileOffset])
    func (state *pclntab) generateFilenameTabs(ctxt *Link, compUnits []*sym.CompilationUnit, funcs []loader.Sym) []uint32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  4. test/fixedbugs/issue10407.go

    // license that can be found in the LICENSE file.
    
    // Issue 10407: gccgo failed to remove carriage returns
    // from raw string literals.
    
    package main
    
    import "fmt"
    
    func main() {
    	fmt.Println("package main\nfunc main() { if `a\rb\r\nc` != \"ab\\nc\" { panic(42) }}")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 392 bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/function-func-attr.pbtxt

    # CHECK-DAG: func private @custom_embedding_matmul{{[0-9]*}}(){{.+}}tf._implements = #tf_type.func<@tensorflow.embedding_matmul, {key1 = 2 : i64, key2 = false}>, tf._original_func_name = "custom_embedding_matmul"}...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 01 20:09:54 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. src/internal/types/testdata/spec/assignability.go

    	_Pointer   = *int
    	_Func      = func(x int) string
    	_Interface = interface{ m() int }
    	_Map       = map[string]int
    	_Chan      = chan int
    
    	Basic     _Basic
    	Array     _Array
    	Slice     _Slice
    	Struct    _Struct
    	Pointer   _Pointer
    	Func      _Func
    	Interface _Interface
    	Map       _Map
    	Chan      _Chan
    	Defined   _Struct
    )
    
    func (Defined) m() int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top