Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,782 for _func (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. internal/s3select/sql/funceval.go

    	errNonStringTrimArg  = errors.New("TRIM() received a non-string argument")
    	errNonTimestampArg   = errors.New("Expected a timestamp argument")
    )
    
    func (e *FuncExpr) getFunctionName() FuncName {
    	switch {
    	case e.SFunc != nil:
    		return FuncName(strings.ToUpper(e.SFunc.FunctionName))
    	case e.Count != nil:
    		return aggFnCount
    	case e.Cast != nil:
    		return sqlFnCast
    	case e.Substring != nil:
    		return sqlFnSubstring
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  5. pkg/controlplane/reconcilers/lease_test.go

    	t.Cleanup(func() { server.Terminate(t) })
    
    	newFunc := func() runtime.Object { return &corev1.Endpoints{} }
    	newListFunc := func() runtime.Object { return &corev1.EndpointsList{} }
    	sc.Codec = apitesting.TestStorageCodec(codecs, corev1.SchemeGroupVersion)
    
    	s, dFunc, err := factory.Create(*sc.ForResource(schema.GroupResource{Resource: "endpoints"}), newFunc, newListFunc, "")
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 28.7K bytes
    - Viewed (0)
  6. src/runtime/syscall_windows_test.go

    }
    
    func TestCallback(t *testing.T) {
    	var x = false
    	nestedCall(t, func() { x = true })
    	if !x {
    		t.Fatal("nestedCall did not call func")
    	}
    }
    
    func TestCallbackGC(t *testing.T) {
    	nestedCall(t, runtime.GC)
    }
    
    func TestCallbackPanicLocked(t *testing.T) {
    	runtime.LockOSThread()
    	defer runtime.UnlockOSThread()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/go/doc/example_test.go

    func (Type1) Func1_foo() {}
    func (Type1) func2() {}
    
    func (type2) Func1() {}
    
    type (
    	Conflict          int
    	Conflict_Conflict int
    	Conflict_conflict int
    )
    
    func (Conflict) Conflict() {}
    
    func GFunc[T any]() {}
    
    type GType[T any] int
    
    func (GType[T]) M() {}
    `
    	const test = `
    package p_test
    
    func ExampleConst1() {} // invalid - no support for consts and vars
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 16:17:51 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tpu-multiple-while-body-func.mlir

      "func.func"() ({
      ^bb0(%arg0: tensor<i32>):
        "func.return"(%arg0) : (tensor<i32>) -> ()
      }) {sym_name = "main_while_body_4225150", sym_visibility = "private", tf._input_shapes = [#tf_type.shape<>], tf.signature.is_stateful, function_type = (tensor<i32>) -> (tensor<i32>)} : () -> ()
      "func.func"() ({
      ^bb0(%arg0: tensor<i32>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 21:23:47 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top