Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 121 for func_0 (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/merge_node_with_function.pbtxt

      input: "input"
      input: "input"
      attr {
        key: "T"
        value {
          type: DT_BOOL
        }
      }
    }
    node {
      name: "func0"
      op: "func_name"
      input: "Switch0:1"
    }
    node {
      name: "Merge"
      op: "Merge"
      input: "Switch0:1"
      input: "Switch0"
      input: "^func0"
      attr {
        key: "N"
        value {
          i: 2
        }
      }
      attr {
        key: "T"
        value {
          type: DT_BOOL
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 14 20:47:36 UTC 2021
    - 1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_inlining/executor_tpuv1_inline_tpu_island.mlir

            %1 = "tf.opB"() : () -> tensor<f32>
            tf_executor.yield %1 : tensor<f32>
          }
          tf_executor.fetch %outputs_0 : tensor<f32>
        }
        func.return %0 : tensor<f32>
      }
    // CHECK-LABEL: func @func2
      func.func @func2(%arg0: tensor<i1>) -> tensor<i1> {
        %0 = tf_executor.graph {
          %outputs, %control = tf_executor.island {
            %1 = "tf.opB"() : () -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 11:03:04 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/saved_model/core/revived_types/tf_concrete_function.cc

    #include "tensorflow/core/protobuf/struct.pb.h"
    
    namespace tensorflow {
    
    TFConcreteFunction::TFConcreteFunction(std::unique_ptr<FlatTensorFunction> func,
                                           FunctionMetadata metadata)
        : func_(std::move(func)), metadata_(std::move(metadata)) {}
    
    Status TFConcreteFunction::Create(
        const FunctionDef* function_def,
        std::vector<ImmediateExecutionTensorHandle*> captures,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 27 06:55:27 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/core/revived_types/tf_signature_def_function.cc

    #include "tensorflow/core/protobuf/struct.pb.h"
    
    namespace tensorflow {
    
    TFSignatureDefFunction::TFSignatureDefFunction(
        std::unique_ptr<FlatTensorFunction> func,
        SignatureDefFunctionMetadata metadata)
        : func_(std::move(func)), metadata_(std::move(metadata)) {}
    
    Status TFSignatureDefFunction::Create(
        const FunctionDef* function_def,
        std::vector<ImmediateExecutionTensorHandle*> captures,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 27 07:01:57 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/common/subgraph.h

    // Take the following example:
    //
    // call @func_1_CPU {tac.interface_name = "func_1"}
    //
    // "func_1" is the interface name where "func_1_cpu" is the real implementation
    // we can have multiple FuncOps like "func_1_cpu" and "func_1_gpu" and they
    // both implement "func_1".
    //
    // The attribute on the FuncOp means what it actually implements while the
    // attribute on the CallOp means what it actually looks for.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 28 05:18:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/pcln.go

    func funcpctab(ctxt *Link, func_ *LSym, desc string, valfunc func(*Link, *LSym, int32, *Prog, int32, interface{}) int32, arg interface{}) *LSym {
    	dbg := desc == ctxt.Debugpcln
    	dst := []byte{}
    	sym := &LSym{
    		Type:      objabi.SRODATA,
    		Attribute: AttrContentAddressable | AttrPcdata,
    	}
    
    	if dbg {
    		ctxt.Logf("funcpctab %s [valfunc=%s]\n", func_.Name, desc)
    	}
    
    	val := int32(-1)
    	oldval := val
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 20:45:15 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  7. test/func1.go

    // license that can be found in the LICENSE file.
    
    // Test that result parameters are in the same scope as regular parameters.
    // Does not compile.
    
    package main
    
    func f1(a int) (int, float32) {
    	return 7, 7.0
    }
    
    
    func f2(a int) (a int, b float32) { // ERROR "duplicate argument a|definition|redeclared"
    	return 8, 8.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 04 21:22:23 UTC 2020
    - 445 bytes
    - Viewed (0)
  8. test/func5.go

    func add(x, y int) int {
    	return x + y
    }
    
    func fn() func(int, int) int {
    	return f
    }
    
    var fc func(int, int, chan int)
    
    func addc(x, y int, c chan int) {
    	c <- x+y
    }
    
    func fnc() func(int, int, chan int) {
    	return fc
    }
    
    func three(x int) {
    	if x != 3 {
    		println("wrong val", x)
    		panic("fail")
    	}
    }
    
    var notmain func()
    
    func emptyresults() {}
    func noresults()    {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 03:28:53 UTC 2012
    - 1.5K bytes
    - Viewed (0)
  9. test/func6.go

    // license that can be found in the LICENSE file.
    
    // Test closures in if conditions.
    
    package main
    
    func main() {
    	if func() bool { return true }() {}  // gc used to say this was a syntax error
    	if (func() bool { return true })() {}
    	if (func() bool { return true }()) {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 393 bytes
    - Viewed (0)
  10. src/text/template/funcs.go

    	return m
    }
    
    // addValueFuncs adds to values the functions in funcs, converting them to reflect.Values.
    func addValueFuncs(out map[string]reflect.Value, in FuncMap) {
    	for name, fn := range in {
    		if !goodName(name) {
    			panic(fmt.Errorf("function name %q is not a valid identifier", name))
    		}
    		v := reflect.ValueOf(fn)
    		if v.Kind() != reflect.Func {
    			panic("value for " + name + " not a function")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top