Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ret_attrs (0.13 sec)

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

        auto& info = resource_it.second;
    
        if (info.is_read) {
          Operation* read = builder.create<TF::ReadVariableOp>(
              op_->getLoc(), info.data_type, resource);
          read->setAttrs(info.read_attrs ? info.read_attrs : empty_attrs);
          read->removeAttr(kDeviceAttr);
          info.hoisted_read = read->getResult(0);
        }
      }
    }
    
    // Replaces all resource reads with the hoisted read.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K 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/mlir/lite/transforms/lower_static_tensor_list.cc

          ConversionPatternRewriter &rewriter) const override {
        Value input = adaptor.getOperands()[0];
        rewriter.replaceOpWithNewOp<TF::IdentityOp>(
            op, input.getType(), adaptor.getOperands(), op->getAttrs());
        return success();
      }
    };
    
    struct ConvertReturn : public OpConversionPattern<func::ReturnOp> {
      using OpConversionPattern::OpConversionPattern;
    
      LogicalResult matchAndRewrite(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    		watchTests: []*testWatchStruct{{basePod, false, ""}, {basePodAssigned, true, watch.Added}},
    		pred: storage.SelectionPredicate{
    			Label: labels.Everything(),
    			Field: fields.ParseSelectorOrDie("spec.nodeName=bar"),
    			GetAttrs: func(obj runtime.Object) (labels.Set, fields.Set, error) {
    				pod := obj.(*example.Pod)
    				return nil, fields.Set{"spec.nodeName": pod.Spec.NodeName}, nil
    			},
    		},
    	}, {
    		name:       "update",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

            output_uniform_quantized_tensor_type};
        auto new_conv_op_with_output_type =
            rewriter.create<stablehlo::ConvolutionOp>(
                op.getLoc(), new_conv_output_types, op.getOperands(),
                op->getAttrs());
    
        rewriter.replaceAllUsesWith(op.getResult(),
                                    new_conv_op_with_output_type.getResult());
    
        auto new_output_dequant_op =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

      // type
      auto new_device_cluster = builder.create<mlir::tf_device::ClusterOp>(
          device_cluster.getLoc(), device_result_types,
          /*operands=*/llvm::ArrayRef<Value>{}, device_cluster->getAttrs());
    
      new_device_cluster.getBody().push_back(new Block);
      builder.setInsertionPointToEnd(&new_device_cluster.GetBody());
    
      // Create return op for device computation region in the paralle_execute op
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go

    	if e.PredicateFunc == nil {
    		e.PredicateFunc = func(label labels.Selector, field fields.Selector) storage.SelectionPredicate {
    			return storage.SelectionPredicate{
    				Label:    label,
    				Field:    field,
    				GetAttrs: attrFunc,
    			}
    		}
    	}
    
    	err := validateIndexers(options.Indexers)
    	if err != nil {
    		return err
    	}
    
    	opts, err := options.RESTOptions.GetRESTOptions(e.DefaultQualifiedResource)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 23:22:44 UTC 2024
    - 60.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/decode.go

    		op1 := (x >> 16) & 7
    		cn := (x >> 12) & 15
    		cm := (x >> 8) & 15
    		op2 := (x >> 5) & 7
    		sysInst := sysInstFields{uint8(op1), uint8(cn), uint8(cm), uint8(op2)}
    		attrs := sysInst.getAttrs()
    		reg := int(x & 31)
    		if !attrs.hasOperand2 {
    			if reg == 31 {
    				return sysOp{sysInst, 0, false}
    			}
    			// This instruction is undefined if the Rt field is not set to 31.
    			return nil
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 76.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

                builder.create<TF::TPUAnnotateTensorsWithDynamicShapeOp>(
                    op->getLoc(), result.getType(), new_value,
                    result.getDefiningOp()->getAttrs());
            for (auto [operation, index] : out_of_region_use) {
              if (!backward_pass_ops.contains(operation)) {
                operation->emitOpError()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
Back to top