Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for getUses (0.53 sec)

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

      // updated in the function.
      llvm::SmallSet<int, 4> indexes;
      for (BlockArgument &arg : func.getArguments()) {
        if (tensor_list_args.contains(arg.getArgNumber())) {
          for (const mlir::OpOperand &use : arg.getUses()) {
            mlir::Operation *op = use.getOwner();
            // Currently we only check if the tensorlist argument is consumed by
            // `TensorListPushBack` or `TensorListResize`, since those are the only
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

          has_dynamic_output = true;
          for (Operation* user : v.getUsers()) {
            if (!HasOutsideCompilationAncestor(user) &&
                !llvm::isa<mlir::tf_device::ReturnOp>(user))
              return true;
          }
        }
        if (!tensorflow::TypeValidForXLA(v.getType()))
          for (const Operation* user : v.getUsers())
            if (!llvm::isa<mlir::tf_device::ReturnOp>(user))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

        ResourceInfo info;
        info.data_type = GetResourceSubtype(resource);
        llvm::BitVector written_regions(op_->getNumRegions());
        bool unsupported_use = false;
        for (OpOperand& use : resource.getUses()) {
          Operation* user = use.getOwner();
          // If the user is not in one of the regions, we are not interested in it.
          // Since all the sub-regions within this region (i.e., regions attached to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

      for (auto& use : uses_optional.value()) {
        if (llvm::isa<TF::WhileOp>(use.getUser())) {
          if (while_op != nullptr) {
            use.getUser()->emitOpError() << "multiple users of function.";
            return LogicalResult::failure();
          } else {
            while_op = llvm::cast<TF::WhileOp>(use.getUser());
          }
        } else {
          use.getUser()->emitOpError() << "non while use of function.";
          return LogicalResult::failure();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

            !(qtype.isa<mlir::quant::UniformQuantizedType>() ||
              qtype.isa<mlir::quant::UniformQuantizedPerAxisType>())) {
          return;
        }
        for (auto& use : value.getUses()) {
          Operation* user = use.getOwner();
          if (user->hasTrait<mlir::OpTrait::IsTerminator>()) continue;
    
          auto affine_user = llvm::dyn_cast<mlir::AffineQuantizedOpInterface>(user);
          if (affine_user &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  6. tests/query_test.go

    	users := []User{
    		*GetUser("find_in_batches_with_offset_limit", Config{}),
    		*GetUser("find_in_batches_with_offset_limit", Config{}),
    		*GetUser("find_in_batches_with_offset_limit", Config{}),
    		*GetUser("find_in_batches_with_offset_limit", Config{}),
    		*GetUser("find_in_batches_with_offset_limit", Config{}),
    		*GetUser("find_in_batches_with_offset_limit", Config{}),
    		*GetUser("find_in_batches_with_offset_limit", Config{}),
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  7. cmd/iam.go

    	case <-sys.configLoaded:
    	default:
    		err = sys.store.LoadUser(ctx, accessKey)
    		loadUserCalled = true
    	}
    
    	u, ok = sys.store.GetUser(accessKey)
    	if !ok && !loadUserCalled {
    		err = sys.store.LoadUser(ctx, accessKey)
    		loadUserCalled = true
    
    		u, ok = sys.store.GetUser(accessKey)
    	}
    
    	if !ok && loadUserCalled && err != nil {
    		iamLogOnceIf(ctx, err, accessKey)
    
    		// return 503 to application
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  8. cmd/iam-store.go

    // HasWatcher - returns if the storage system has a watcher.
    func (store *IAMStoreSys) HasWatcher() bool {
    	_, ok := store.IAMStorageAPI.(iamStorageWatcher)
    	return ok
    }
    
    // GetUser - fetches credential from memory.
    func (store *IAMStoreSys) GetUser(user string) (UserIdentity, bool) {
    	cache := store.rlock()
    	defer store.runlock()
    
    	u, ok := cache.iamUsersMap[user]
    	if !ok {
    		// Check the sts map
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  9. cmd/admin-handlers-users.go

    	if accessKey == globalActiveCred.AccessKey {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAddUserInvalidArgument), r.URL)
    		return
    	}
    
    	user, exists := globalIAMSys.GetUser(ctx, accessKey)
    	if exists && (user.Credentials.IsTemp() || user.Credentials.IsServiceAccount()) {
    		// Updating STS credential is not allowed, and this API does not
    		// support updating service accounts.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

          TF::PartitionedCallOp call_op, const SmallVector<Value, 4>& args,
          PatternRewriter& rewriter) const {
        bool followed_by_dequantize = false;
        for (Operation* user : call_op->getUsers()) {
          if (llvm::isa<quantfork::DequantizeCastOp>(user)) {
            followed_by_dequantize = true;
            break;
          }
        }
        if (!followed_by_dequantize) return success();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
Back to top