Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for getUsers (0.27 sec)

  1. 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)
  2. 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)
  3. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      }
      // Create symbol table for module.
      symbol_table_.getSymbolTable(module);
    }
    
    ArrayRef<Operation*> ShapeInference::GetCallers(func::FuncOp fn) {
      return symbol_users_.getUsers(fn);
    }
    
    void ShapeInference::EnqueueCallers(func::FuncOp fn) {
      for (auto user : GetCallers(fn)) {
        auto func = user->getParentOfType<func::FuncOp>();
        if (func) enqueue(func);
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        int buffer_index = buffers_.size();
        // If a constant is returned as subgraph's output, this constant cannot be
        // deduplicated.
        const bool not_returned_by_subgraph = llvm::none_of(
            value.getUsers(),
            [](Operation* user) { return llvm::isa<mlir::func::ReturnOp>(user); });
        // TODO(ashwinm): Check if for stateful tensors, if it is also needed to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  7. src/main/webapp/js/admin/bootstrap.min.js.map

    ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\nclass Alert {\n  constructor(element) {\n    this._element = element\n  }\n\n  // Getters\n\n  static get VERSION() {\n    return VERSION\n  }\n\n  // Public\n\n  close(element) {\n    let rootElement = this._element\n    if (element) {\n      rootElement = this._getRootElement(element)\n    }\n\n    const customEvent = this._triggerC...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 07 10:28:50 UTC 2020
    - 185.8K bytes
    - Viewed (0)
  8. src/main/webapp/js/bootstrap.min.js.map

    ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\nclass Alert {\n  constructor(element) {\n    this._element = element\n  }\n\n  // Getters\n\n  static get VERSION() {\n    return VERSION\n  }\n\n  // Public\n\n  close(element) {\n    let rootElement = this._element\n    if (element) {\n      rootElement = this._getRootElement(element)\n    }\n\n    const customEvent = this._triggerC...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sat Jan 11 06:54:28 UTC 2020
    - 189.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

                }
            }
    
            /**
             * Generates the init method with deprecation logging disabled.
             *
             * This is necessary because the initialization work invokes property getters on the decorated instance.
             */
            private void generateInitMethod() {
    
                // private void $gradleInit() { DeprecationLogger.whileDisabled(this::$gradleInitWork) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  10. cmd/site-replication.go

    		return nil, errSRPeerNotFound
    	}
    	return getAdminClient(endpoint, creds.AccessKey, creds.SecretKey)
    }
    
    func (c *SiteReplicationSys) getPeerCreds() (*auth.Credentials, error) {
    	u, ok := globalIAMSys.store.GetUser(c.state.ServiceAccountAccessKey)
    	if !ok {
    		return nil, errors.New("site replication service account not found")
    	}
    	return &u.Credentials, nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
Back to top