Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 242 for get_attr (0.4 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_read_for_write.cc

        auto loc = cluster_func.getLoc();
        auto new_cluster_func = builder.create<tf_device::ClusterFuncOp>(
            loc, cluster_func.getResultTypes(), operands, cluster_func->getAttrs());
        cluster_func.replaceAllUsesWith(new_cluster_func);
        func::FuncOp func = cluster_func.getFuncOp();
        Block& block = func.front();
        for (Value read_operand : read_operands)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 16:54:40 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    			// doesn't automatically preclude some scenarios from happening.
    			t.Parallel()
    
    			if ignoreWatchCacheTests && tt.ignoreForWatchCache {
    				t.Skip()
    			}
    
    			if tt.pred.GetAttrs == nil {
    				tt.pred.GetAttrs = getAttrs
    			}
    
    			out := &example.PodList{}
    			storageOpts := storage.ListOptions{
    				ResourceVersion:      tt.rv,
    				ResourceVersionMatch: tt.rvMatch,
    				Predicate:            tt.pred,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/node_matchers.h

        input_matchers_ = std::move(inputs);
      }
    
      void set_control_deps(NodeSeqMatcher control_deps) {
        DCHECK(IsEmpty());
        control_deps_ = std::move(control_deps);
      }
    
      void set_attr(AttrKeyValuePair attr) {
        DCHECK(IsEmpty());
        attr_ = std::move(attr);
      }
    
      bool IsEmpty() const {
        return !name().has_value() && !op().has_value() && !inputs().has_value() &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc

        }
        OpBuilder builder(call);
        auto new_call = builder.create<CallOp>(
            call.getLoc(), info.decomposed_callee.getFunctionType().getResults(),
            new_operands, call->getAttrs());
        new_call->setAttr(
            "f", SymbolRefAttr::get(
                     builder.getContext(),
                     const_cast<func::FuncOp&>(info.decomposed_callee).getName()));
        for (int64_t i = 0; i < call.getNumResults(); ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  5. pkg/registry/core/componentstatus/rest.go

    }
    
    func componentStatusPredicate(options *metainternalversion.ListOptions) storage.SelectionPredicate {
    	pred := storage.SelectionPredicate{
    		Label:    labels.Everything(),
    		Field:    fields.Everything(),
    		GetAttrs: nil,
    	}
    	if options != nil {
    		if options.LabelSelector != nil {
    			pred.Label = options.LabelSelector
    		}
    		if options.FieldSelector != nil {
    			pred.Field = options.FieldSelector
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/gpu_fusion.cc

        state.addAttributes(batch_norm->getAttrs());
        Operation *op = rewriter.create(state);
        rewriter.replaceOp(batch_norm, op->getResults());
    
        // Depending on the case, we may fuse the add, the relu, or both.
        if (!add_op || add_op.getZ().hasOneUse()) {
          // We fuse the Relu only if the add has a single use, otherwise we only
          // fuse the add itself.
          op->setAttr("activation_mode", rewriter.getStringAttr("Relu"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  7. pkg/registry/core/persistentvolumeclaim/storage/storage.go

    		TableConvertor: printerstorage.TableConvertor{TableGenerator: printers.NewTableGenerator().With(printersinternal.AddHandlers)},
    	}
    	options := &generic.StoreOptions{RESTOptions: optsGetter, AttrFunc: persistentvolumeclaim.GetAttrs}
    	if err := store.CompleteWithOptions(options); err != nil {
    		return nil, nil, err
    	}
    
    	statusStore := *store
    	statusStore.UpdateStrategy = persistentvolumeclaim.StatusStrategy
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/preprocess_op.cc

        op->setAttr("f", SymbolRefAttr::get(rewriter.getContext(),
                                            new_float_func.getName()));
    
        return success();
      }
    
      LogicalResult matchAndRewrite(TF::PartitionedCallOp op,
                                    PatternRewriter& rewriter) const override {
        const auto f_attr = mlir::dyn_cast<FlatSymbolRefAttr>(op.getFAttr());
        // Non-quantizable op
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. pkg/registry/batch/job/storage/storage.go

    		TableConvertor: printerstorage.TableConvertor{TableGenerator: printers.NewTableGenerator().With(printersinternal.AddHandlers)},
    	}
    	options := &generic.StoreOptions{RESTOptions: optsGetter, AttrFunc: job.GetAttrs}
    	if err := store.CompleteWithOptions(options); err != nil {
    		return nil, nil, err
    	}
    
    	statusStore := *store
    	statusStore.UpdateStrategy = job.StatusStrategy
    	statusStore.ResetFieldsStrategy = job.StatusStrategy
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_calibration_statistics_saver.cc

          return true;
        }
      }
    
      SymbolTable symbol_table(op->getParentOfType<ModuleOp>());
      // Check the functions associated to CaseOp, IfOp and WhileOp.
      for (const NamedAttribute& attr : op->getAttrs()) {
        FlatSymbolRefAttr symbol_attr =
            dyn_cast_or_null<FlatSymbolRefAttr>(attr.getValue());
        if (!symbol_attr) continue;
    
        func::FuncOp target_func = dyn_cast_or_null<func::FuncOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top