Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getUses (0.11 sec)

  1. tensorflow/compiler/mlir/lite/transforms/optimize.cc

              values.getUses().begin().getUser());
          values_slice_op.getResult().replaceAllUsesWith(top_k_op.getValues());
          values_slice_op.erase();
        }
        if (!indices.use_empty()) {
          auto indices_slice_op = llvm::dyn_cast_or_null<TFL::SliceOp>(
              indices.getUses().begin().getUser());
          indices_slice_op.getResult().replaceAllUsesWith(top_k_op.getIndices());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

        // to it have the same shape, we need to follow use-def chain of ops that
        // (conceptually) modify it i.e., ops that take an input TensorList and
        // produce an output TensorList.
        for (auto& use : tensorlist.getUses()) {
          if (auto push = llvm::dyn_cast<TensorListPushBackOp>(use.getOwner())) {
            auto element_type =
                mlir::dyn_cast<RankedTensorType>(push.getTensor().getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      // marked as a stateful. If so, set the tensor's is_variable as true
      // This is v1 ref variable semantics in the TFLite runtime.
      bool is_variable = false;
      for (auto& use : value.getUses()) {
        is_variable = IsStatefulOperand(use.getOwner(), use.getOperandNumber());
        if (is_variable) {
          break;
        }
      }
      // The value is used as a variable if produced by an op with "tfl.is_variable"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

        arg_nodes_to_values.try_emplace({arg_node.node, arg_node.index}, arg_def);
        island->getResult(0).replaceAllUsesWith(arg_def);
        // Erase control outputs from feed.
        auto control_uses = island->getResult(1).getUses();
        for (auto& control_use : llvm::make_early_inc_range(control_uses))
          control_use.getOwner()->eraseOperand(control_use.getOperandNumber());
    
        if (!arg_node.node->requested_device().empty())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      auto loc = op.getLoc();
    
      // First unpack user must be coeff-wise unary operation.
      Operation *first_user = *op->getUsers().begin();
      if (!first_user->hasTrait<OpTrait::TF::CwiseUnary>()) return failure();
    
      // All unpack users must be defined by the op of same kind.
      bool users_same_op = llvm::all_of(op->getUsers(), [&](Operation *user) {
        return user->getName() == first_user->getName();
      });
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/resources/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/uikit.min.js

    turn xt(t.selItem,e)}},events:[{name:"itemshown",self:!0,el:function(){return this.item},handler:function(){Ve(this.$el,this.getCss(.5))}},{name:"itemin itemout",self:!0,el:function(){return this.item},handler:function(t){var e=t.type,i=t.detail,n=i.percent,r=i.duration,o=i.timing,s=i.dir;Ze.cancel(this.$el),Ve(this.$el,this.getCss(co(e,s,n))),Ze.start(this.$el,this.getCss(uo(e)?.5:0<s?1:0),r,o).catch(et)}},{name:"transitioncanceled transitionend",self:!0,el:function(){return this.item},handler:...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 130.5K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    		VersionSuspended:   srcOpts.VersionSuspended,
    		ReplicationRequest: r.Header.Get(xhttp.MinIOSourceReplicationRequest) == "true",
    	}
    	getSSE := encrypt.SSE(srcOpts.ServerSideEncryption)
    	if getSSE != srcOpts.ServerSideEncryption {
    		getOpts.ServerSideEncryption = getSSE
    	}
    
    	dstOpts, err = copyDstOpts(ctx, r, dstBucket, dstObject, nil)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  8. pkg/config/validation/validation.go

    			errs = appendErrors(errs, ValidateHTTPHeaderWithAuthorityOperationName(name))
    			errs = appendErrors(errs, ValidateHTTPHeaderValue(val))
    		}
    		for name, val := range weight.Headers.GetRequest().GetSet() {
    			errs = appendErrors(errs, ValidateHTTPHeaderWithAuthorityOperationName(name))
    			errs = appendErrors(errs, ValidateHTTPHeaderValue(val))
    		}
    		for _, name := range weight.Headers.GetRequest().GetRemove() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

        // If all the users of this op have valid "minmax" attributes, it is matched
        // and can be removed.
        auto fakeQuantOp = cast<FakeQuantOp>(op);
        for (auto* operand : fakeQuantOp.getResult().getUsers())
          if (!HasValidMinMaxAttribute(operand)) return failure();
    
        return success();
      }
    
      void rewrite(Operation* op, PatternRewriter& rewriter) const override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

                                                     : rewriter.getBoolAttr(false));
    
        Value result = op.getResult();
        Operation* result_user_op = *op->getUsers().begin();
        if (isa<TFL::QuantizeOp>(result_user_op) ||
            isa<stablehlo::UniformQuantizeOp>(result_user_op)) {
          result = result_user_op->getResult(0);
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
Back to top