Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 121 for func_0 (9.43 sec)

  1. tensorflow/compiler/mlir/lite/utils/nms_utils.cc

    void ConvertNMSPaddedFunc::RewriteFunc() {
      func_->setAttr(kTFImplements,
                     StringAttr::get(func_.getContext(), kTfNMSPadded));
      Value boxes = func_.getArgument(0);
      Value scores = func_.getArgument(1);
      Value max_output_size = func_.getArgument(2);
      Value iou_threshold = func_.getArgument(3);
      Value score_threshold = func_.getArgument(4);
      auto output_type0 = func_.getFunctionType().getResult(0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/perception_ops_utils.cc

    LogicalResult ConvertDenseImageWarpFunc::RewriteFunc() {
      func_.eraseBody();
      func_.addEntryBlock();
      func_->setAttr(kTFImplements,
                     StringAttr::get(func_.getContext(), kImageWarping));
    
      OpBuilder builder(func_.getBody());
      auto op = builder.create<CustomOp>(func_.getLoc(),
                                         func_.getFunctionType().getResults(),
                                         func_.getArguments(), kImageWarping,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/cmd/internal/objabi/funcid.go

    	"deferreturn": abi.FuncIDWrapper,
    }
    
    // Get the function ID for the named function in the named file.
    // The function should be package-qualified.
    func GetFuncID(name string, isWrapper bool) abi.FuncID {
    	if isWrapper {
    		return abi.FuncIDWrapper
    	}
    	if strings.HasPrefix(name, "runtime.") {
    		if id, ok := funcIDs[name[len("runtime."):]]; ok {
    			return id
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 21:33:59 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. src/internal/trace/testdata/testprog/stacks.go

    	// the rest of the test, they will block.
    	go func() { // func1
    		select {}
    	}()
    	go func() { // func2
    		var c chan int
    		c <- 0
    	}()
    	go func() { // func3
    		var c chan int
    		<-c
    	}()
    	done1 := make(chan bool)
    	go func() { // func4
    		<-done1
    	}()
    	done2 := make(chan bool)
    	go func() { // func5
    		done2 <- true
    	}()
    	c1 := make(chan int)
    	c2 := make(chan int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/utils/perception_ops_utils.h

    class ConvertMaxUnpoolingFunc {
     public:
      explicit ConvertMaxUnpoolingFunc(func::FuncOp func, mlir::TF::FuncAttr attr)
          : func_(func), attr_(attr) {}
    
      LogicalResult RewriteFunc();
    
      LogicalResult VerifySignature();
    
     private:
      LogicalResult CreateCustomOptions(std::string& custom_option_buffer);
    
      func::FuncOp func_;
      mlir::TF::FuncAttr attr_;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 17:42:55 UTC 2022
    - 2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/lite/tfl_to_std.h

        ConvertForward(func_);
      }
    
      ScopedOpsConverter(const ScopedOpsConverter&) = delete;
      ScopedOpsConverter operator=(const ScopedOpsConverter&) = delete;
      ScopedOpsConverter(const ScopedOpsConverter&&) = delete;
      ScopedOpsConverter operator=(const ScopedOpsConverter&&) = delete;
    
      ~ScopedOpsConverter() { ConvertBackward(func_); }
    
     private:
      func::FuncOp func_;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  7. test/func8.go

    // Test evaluation order.
    
    package main
    
    var calledf int
    
    func f() int {
    	calledf++
    	return 0
    }
    
    func g() int {
    	return calledf
    }
    
    var xy string
    
    //go:noinline
    func x() bool {
    	xy += "x"
    	return false
    }
    
    //go:noinline
    func y() string {
    	xy += "y"
    	return "abc"
    }
    
    func main() {
    	if f() == g() {
    		panic("wrong f,g order")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 599 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc

     public:
      explicit ConvertEmbeddedLookupFunc(func::FuncOp func) : func_(func) {}
    
      void RewriteFunc() {
        func_->setAttr(kTFImplements,
                       StringAttr::get(func_.getContext(), "embedding_lookup"));
        Value lookup = func_.getArgument(1);
        Value value = func_.getArgument(0);
        auto output_type = func_.getFunctionType().getResult(0);
    
        OpBuilder builder(func_.getBody());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/internal/abi/funcpc.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !gccgo
    
    package abi
    
    // FuncPC* intrinsics.
    //
    // CAREFUL: In programs with plugins, FuncPC* can return different values
    // for the same function (because there are actually multiple copies of
    // the same function in the address space). To be safe, don't use the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 27 21:15:37 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

        ret_operands.push_back(operand->getValue());
      }
      builder_.create<func::ReturnOp>(func_.getLoc(), ret_operands);
    
      auto arg_types = body.getArgumentTypes();
      auto result_types = body.getTerminator()->getOperandTypes();
      func_.setType(FunctionType::get(func_.getContext(), arg_types, result_types));
      *f = new MlirFunction(std::move(context_), std::move(module_), func_);
      return absl::OkStatus();
    }
    
    extern "C" {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
Back to top