Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for GetFunc (0.12 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/configuration/configuration_manager.go

    	defaultBootstrapRetries     = 5
    	defaultBootstrapGraceperiod = 5 * time.Second
    )
    
    var (
    	ErrNotReady = fmt.Errorf("configuration is not ready")
    	ErrDisabled = fmt.Errorf("disabled")
    )
    
    type getFunc func() (runtime.Object, error)
    
    // When running, poller calls `get` every `interval`. If `get` is
    // successful, `Ready()` returns ready and `configuration()` returns the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 06 02:02:38 UTC 2017
    - 4.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/registry/rest/resttest/resttest.go

    	}
    	meta.SetGenerateName("")
    	meta.SetGeneration(1)
    }
    
    type AssignFunc func([]runtime.Object) []runtime.Object
    type EmitFunc func(runtime.Object, string) error
    type GetFunc func(context.Context, runtime.Object) (runtime.Object, error)
    type InitWatchFunc func()
    type InjectErrFunc func(err error)
    type IsErrorFunc func(err error) bool
    type CreateFunc func(context.Context, runtime.Object) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/convert_launch_func_to_tf_call.cc

        OpBuilder builder(launch);
        auto call_op = builder.create<TF::PartitionedCallOp>(
            module.getLoc(), launch.getResultTypes(), launch.getOperands(),
            SymbolRefAttr::get(builder.getContext(), launch.getFunc()),
            /*config=*/builder.getStringAttr(""),
            /*config_proto=*/builder.getStringAttr(""),
            /*executor_type=*/builder.getStringAttr(""));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 21:08:09 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/annotate_parameter_replication.cc

            mirrored_replicate_args.insert(
                mlir::cast<IntegerAttr>(mirrored_index).getInt());
          }
        }
        auto func =
            llvm::cast<func::FuncOp>(m.lookupSymbol(cluster_func.getFunc()));
        for (auto entry : llvm::enumerate(cluster_func.getOperands())) {
          auto operand = SkipIdentityAndReadVariable(entry.value());
          auto block_arg = mlir::dyn_cast<BlockArgument>(operand);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/debug/elf/symbols_test.go

    package elf
    
    import (
    	"io"
    	"path"
    	"reflect"
    	"testing"
    )
    
    // TODO: remove duplicate code
    func TestSymbols(t *testing.T) {
    	do := func(file string, ts []Symbol, getfunc func(*File) ([]Symbol, error)) {
    		var f *File
    		var err error
    		if path.Ext(file) == ".gz" {
    			var r io.ReaderAt
    			if r, err = decompress(file); err == nil {
    				f, err = NewFile(r)
    			}
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 05 18:18:26 UTC 2019
    - 13.4K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api.cc

      if (!status->status.ok()) return;
      auto run_metadata = context->ExportRunMetadata();
      status->status = MessageToBuffer(*run_metadata, buf);
    }
    
    namespace {
    TFE_Op* GetFunc(TFE_Context* ctx, const tensorflow::NameAttrList& func,
                    TF_Status* status) {
      TFE_Op* func_op = TFE_NewOp(ctx, func.name().data(), status);
      for (const auto& attr : func.attr()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc

      // Look up function definition from module.
      mlir::func::FuncOp func =
          cluster_func->getParentOfType<ModuleOp>()
              .lookupSymbol<mlir::func::FuncOp>(cluster_func.getFunc());
    
      bool use_spmd = false;
      if (auto use_spmd_attr = cluster_func->getAttrOfType<BoolAttr>(kUseSpmdAttr))
        use_spmd = use_spmd_attr.getValue();
    
      auto num_cores_per_replica_attr =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types/sym.go

    func (sym *Sym) SetUniq(b bool)         { sym.flags.set(symUniq, b) }
    func (sym *Sym) SetSiggen(b bool)       { sym.flags.set(symSiggen, b) }
    func (sym *Sym) SetAsm(b bool)          { sym.flags.set(symAsm, b) }
    func (sym *Sym) SetFunc(b bool)         { sym.flags.set(symFunc, b) }
    
    func (sym *Sym) IsBlank() bool {
    	return sym != nil && sym.Name == "_"
    }
    
    // Deprecated: This method should not be used directly. Instead, use a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:56 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ir/func.go

    //
    // TODO(mdempsky): I suspect there's no need for separate fpos and
    // npos.
    func NewFunc(fpos, npos src.XPos, sym *types.Sym, typ *types.Type) *Func {
    	name := NewNameAt(npos, sym, typ)
    	name.Class = PFUNC
    	sym.SetFunc(true)
    
    	fn := &Func{Nname: name}
    	fn.pos = fpos
    	fn.op = ODCLFUNC
    	// Most functions are ABIInternal. The importer or symabis
    	// pass may override this.
    	fn.ABI = obj.ABIInternal
    	fn.SetTypecheck(1)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top