Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 170 for none_of (0.12 sec)

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

      return success();
    }
    
    void TPUReorderReplicateAndPartitionedInputsPass::runOnOperation() {
      auto result =
          getOperation()->walk([](TF::TPUReplicatedInputOp replicated_input) {
            if (llvm::none_of(replicated_input.getInputs(), [](Value input) {
                  return llvm::isa_and_nonnull<TF::TPUPartitionedInputV2Op>(
                      input.getDefiningOp());
                }))
              return WalkResult::advance();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 24 23:08:55 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/cluster_util.cc

      // dependency from the oprands of the op to the current cluster.
      llvm::SetVector<Operation*> ops_depend_on_cluster =
          GetAllOpsDependOnCluster(c, op_to_cluster_map);
      return llvm::none_of(to_merge->getOperands(), [&](Value value) {
        Operation* defining_op = value.getDefiningOp();
        return defining_op && ops_depend_on_cluster.contains(defining_op);
      });
    }
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 28 00:32:55 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc

      // don't need to consider ".source"/".Source" because the nodes with this
      // suffix are skipped by the caller and will not be added to the graph.
      auto prefixes = GlobalOpPrefixes();
      if (std::none_of(prefixes->begin(), prefixes->end(), [&](std::string prefix) {
            return op_name.consume_front(prefix);
          })) {
        return errors::FailedPrecondition("op node '", op_name.str(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

          return changed;
        }
      }
      return changed;
    }
    
    bool ShapeInference::RefineWithInferTypeOpInterface(
        InferTypeOpInterface infer_ti) {
      Operation* op = infer_ti.getOperation();
      if (none_of(op->getResultTypes(), CanBeRefined)) {
        LLVM_DEBUG(llvm::dbgs() << "Skipping inference for statically shaped op '"
                                << op->getName() << "'.\n");
        return false;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  5. 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)
  6. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/PosixFilePermissionConverterTest.groovy

            expect:
            PosixFilePermissionConverter.convertToInt(perms) == intValue
    
            where:
            perms                                                                |       intValue
            EnumSet.noneOf(PosixFilePermission)                                  |       0
            EnumSet.allOf(PosixFilePermission)                                   |       0777
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/FullExceptionFormatterTest.groovy

            Caused by:
            java.lang.RuntimeException: oops
    """
        }
    
        def "optionally shows stack traces"() {
            testLogging.getShowStackTraces() >> true
            testLogging.getStackTraceFilters() >> EnumSet.noneOf(TestStackTraceFilter)
            def exception = new Exception("ouch")
            exception.stackTrace = createStackTrace()
    
            expect:
            formatter.format(testDescriptor, [exception]) == """\
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. subprojects/core/src/testFixtures/groovy/org/gradle/api/internal/FeaturePreviewsActivationFixture.groovy

     * limitations under the License.
     */
    
    package org.gradle.api.internal
    
    class FeaturePreviewsActivationFixture {
    
        static def activeFeatures() {
            EnumSet<FeaturePreviews.Feature> active = EnumSet.noneOf(FeaturePreviews.Feature)
            for (FeaturePreviews.Feature feature : FeaturePreviews.Feature.values()) {
                if (feature.isActive()) {
                    active.add(feature)
                }
            }
            active
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 13 13:23:50 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/DefaultTestLogging.java

    import static org.gradle.util.internal.GUtil.toEnum;
    import static org.gradle.util.internal.GUtil.toEnumSet;
    
    public class DefaultTestLogging implements TestLogging {
        private Set<TestLogEvent> events = EnumSet.noneOf(TestLogEvent.class);
        private int minGranularity = -1;
        private int maxGranularity = -1;
        private int displayGranularity = 2;
        private boolean showExceptions = true;
        private boolean showCauses = true;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 10:04:16 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/EvalOption.kt

    import java.util.*
    
    
    enum class EvalOption {
        IgnoreErrors,
        SkipBody
    }
    
    
    typealias EvalOptions = EnumSet<EvalOption>
    
    
    internal
    val defaultEvalOptions: EvalOptions =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 874 bytes
    - Viewed (0)
Back to top