Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 39 of 39 for func_20 (0.31 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc

               operations.back().hasTrait<OpTrait::IsTerminator>())) {
            to_remove.push_back(init_func_op);
          } else {
            to_keep.push_back(sym_ref);
          }
        }
    
        for (auto func_op : to_remove) rewriter.eraseOp(func_op);
    
        if (to_keep.empty())
          rewriter.eraseOp(op);
        else
          op->setAttr("initializers", rewriter.getArrayAttr(to_keep));
    
        return success();
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/subst.go

    				// and copy all variables
    				new := make([]*Var, len(in))
    				copy(new, out)
    				out = new
    				copied = true
    			}
    			out[i] = w
    		}
    	}
    	return
    }
    
    func (subst *subster) func_(f *Func) *Func {
    	if f != nil {
    		if typ := subst.typ(f.typ); typ != f.typ {
    			return substFunc(f, typ)
    		}
    	}
    	return f
    }
    
    func substFunc(f *Func, typ Type) *Func {
    	copy := *f
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. src/go/types/subst.go

    				// and copy all variables
    				new := make([]*Var, len(in))
    				copy(new, out)
    				out = new
    				copied = true
    			}
    			out[i] = w
    		}
    	}
    	return
    }
    
    func (subst *subster) func_(f *Func) *Func {
    	if f != nil {
    		if typ := subst.typ(f.typ); typ != f.typ {
    			return substFunc(f, typ)
    		}
    	}
    	return f
    }
    
    func substFunc(f *Func, typ Type) *Func {
    	copy := *f
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter_test.cc

      TF_ASSERT_OK_AND_ASSIGN(TupleOp root_tuple,
                              ImportXlaComputationIntoModule(computation));
      EXPECT_TRUE(root_tuple);
    
      int num_func_ops = 0;
      module_->walk([&num_func_ops](func::FuncOp func_op) { num_func_ops++; });
    
      // Ensure that only a single computation was imported.
      EXPECT_EQ(num_func_ops, 1);
    }
    
    TEST_F(Tf2XlaRewriterTest, InsertsConstantParameters) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

      std::vector<Type> output_types = GetValueTypes(outputs);
      builder.setInsertionPointToEnd(&module.getBodyRegion().back());
      func::FuncOp func_op = builder.create<func::FuncOp>(
          module.getLoc(), name,
          builder.getFunctionType(input_types, output_types));
      func_op.setPrivate();
    
      return func_op;
    }
    
    TF::StatefulPartitionedCallOp EncapsulateOpsInFunc(
        OpBuilder& builder, const llvm::SetVector<Operation*>& ops,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/tests/hoist_invariant_ops.mlir

    module attributes {tf_saved_model.semantics} {
    
    // Test not hoisting in TPU functions.
    
    // CHECK-LABEL: func @_tfrt_resource_init
    // CHECK-NEXT: return
    
    // CHECK-LABEL: func private @func2
    func.func private @func2(%arg: tensor<i1>) -> tensor<i32> {
      // CHECK-NOT: tf._TfrtGetResource
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 01 23:54:14 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/quantization/quantization_context.h

        // results and arguments.
        llvm::DenseMap<OpValue, int> operand_states_;
        llvm::DenseMap<OpValue, int> result_states_;
      };
    
      func::FuncOp func_;
    
      DeviceTarget target_spec_;
    
      StatesManager states_manager_;
    };
    
    }  // namespace quant
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. src/crypto/sha1/sha1block_amd64.s

    #define FUNC1(a, b, c, d, e) \
    	MOVL	d, R9; \
    	XORL	c, R9; \
    	ANDL	b, R9; \
    	XORL	d, R9
    
    #define FUNC2(a, b, c, d, e) \
    	MOVL	b, R9; \
    	XORL	c, R9; \
    	XORL	d, R9
    
    #define FUNC3(a, b, c, d, e) \
    	MOVL	b, R8; \
    	ORL	c, R8; \
    	ANDL	d, R8; \
    	MOVL	b, R9; \
    	ANDL	c, R9; \
    	ORL	R8, R9
    
    #define FUNC4 FUNC2
    
    #define MIX(a, b, c, d, e, const) \
    	ROLL	$30, b; \
    	ADDL	R9, e; \
    	MOVL	a, R8; \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  9. src/internal/trace/trace_test.go

    					{"internal/poll.(*FD).Accept", 0},
    					{"net.(*netFD).accept", 0},
    					{"net.(*TCPListener).accept", 0},
    					{"net.(*TCPListener).Accept", 0},
    					{"main.main.func10", 0},
    				}},
    				{trace.EventStateTransition, "Goroutine Running->Syscall", []frame{
    					{"syscall.read", 0},
    					{"syscall.Read", 0},
    					{"internal/poll.ignoringEINTRIO", 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top