Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for SetPredicate (0.19 sec)

  1. tensorflow/compiler/jit/deadness_analysis.cc

              (*should_revisit)[e->dst()->id()] = true;
            }
          }
        }
      }
    
      void SetPredicate(Node* n, absl::Span<const int> output_idxs, Predicate* pred,
                        std::vector<bool>* should_revisit) {
        for (int output_idx : output_idxs) {
          SetPredicate(n, output_idx, pred, should_revisit);
        }
      }
    
      Status HandleSwitch(Node* n, std::vector<bool>* should_revisit);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/RuleBindings.java

            }
        }
    
        private void addRule(RuleBinder rule, NodeAtStateIndex index, ModelBinding binding) {
            Reference reference = new Reference(rule, index, binding);
            BindingPredicate predicate = binding.getPredicate();
            if (predicate.getPath() != null) {
                if (predicate.getScope() != null) {
                    throw new UnsupportedOperationException("Currently not implemented");
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/UnboundRulesProcessor.java

                ModelBinding subjectBinding = binder.getSubjectBinding();
                // Only report subject binding if target state is after node creation
                if (subjectBinding.getPredicate().getState().compareTo(ModelNode.State.Created) > 0) {
                    UnboundRuleInput.Builder inputBuilder = toInputBuilder(subjectBinding);
                    builder.mutableInput(inputBuilder);
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/RuleBinder.java

                @Override
                public void execute(ModelBinding modelBinding) {
                    ModelNodeInternal node = modelBinding.getNode();
                    BindingPredicate predicate = modelBinding.getPredicate();
                    if (node.isAtLeast(predicate.getState())) {
                        throw new IllegalStateException(String.format("Cannot add rule %s for model element '%s' at state %s as this element is already at state %s.",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelBinding.java

         * the target state, not the input state. Implicitly, a rule accepts as input the subject in the state that is the predecessor of the target state.
         */
        public BindingPredicate getPredicate() {
            return predicate;
        }
    
        public boolean isBound() {
            return boundTo != null;
        }
    
        public ModelNodeInternal getNode() {
            if (boundTo == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java

            int i = 0;
            for (ModelBinding binding : bindings) {
                ModelNodeInternal element = binding.getNode();
                ModelView<?> view = element.asImmutable(binding.getPredicate().getType(), descriptor);
                array[i++] = view;
            }
            @SuppressWarnings("unchecked") List<ModelView<?>> views = Arrays.asList(array);
            return views;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

      // else print the shorter single type.
      p << " : ";
      if (getTrueOutput().getType() != data_operand_ty ||
          getFalseOutput().getType() != data_operand_ty ||
          mlir::isa<UnrankedTensorType>(getPredicate().getType())) {
        p.printFunctionalType(getOperation());
      } else {
        p << getType(0);
      }
      p.printOptionalAttrDict(getOperation()->getAttrs());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      // TakeWhileDataset op. The TakeWhileDataset op always has N+1 inputs.
      // TODO(jpienaar): Avoid this lookup.
      auto module = op->getParentOfType<ModuleOp>();
      auto f = module.lookupSymbol<func::FuncOp>(op.getPredicate());
      // Skip if function is not found or more than one caller.
      if (!f || !llvm::hasSingleElement(GetCallers(f))) return false;
      return InferShapeForDatasetOpCommon(op, f, max_iterations);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
Back to top