Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 233 for getEnd (0.23 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/NamedOperation.groovy

        String toString() {
            return "[operation $name]"
        }
    
        Instant getEnd() {
            def instant = end.get()
            if (instant == null) {
                throw new IllegalStateException("Operation '$name' has not completed yet.")
            }
            return instant
        }
    
        Duration getDuration() {
            return getEnd() - start
        }
    
        void completed(Instant when) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

        auto attribute_type = rewriter.getIntegerType(64);
        rewriter.replaceOpWithNewOp<TF::StridedSliceOp>(
            op, strided_slice_op.getType(), reshape, strided_slice_op.getBegin(),
            strided_slice_op.getEnd(), strided_slice_op.getStrides(),
            rewriter.getIntegerAttr(attribute_type, revised_begin_mask),
            rewriter.getIntegerAttr(attribute_type, revised_end_mask),
            rewriter.getIntegerAttr(attribute_type,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        // Match Add
        mlir::TFL::AddOp add_op =
            dyn_cast_or_null<TFL::AddOp>(strided_slice_op.getEnd().getDefiningOp());
        mlir::TFL::SubOp sub_op =
            dyn_cast_or_null<TFL::SubOp>(strided_slice_op.getEnd().getDefiningOp());
        if (!(add_op || sub_op)) {
          return failure();
        }
    
        // Check that add rhs is constant.
        DenseElementsAttr added_value;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

        regions.push_back(
            RegionSuccessor(&getCond(), getCond().front().getArguments()));
      } else if (point.isParent()) {
        // The parent branches to 'cond'. It is also considered to branch to `body`
        // in case the terminator of `cond` doesn't forward the arguments of `cond`.
        regions.push_back(
            RegionSuccessor(&getCond(), getCond().front().getArguments()));
        regions.push_back(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

        inferredReturnTypes.assign({result_type});
        return success();
      }
    
      auto stride_h = op.getStrideHAttr().getInt();
      auto stride_w = op.getStrideWAttr().getInt();
      auto dilation_h = op.getDilationHFactorAttr().getInt();
      auto dilation_w = op.getDilationWFactorAttr().getInt();
    
      // We don't have EXPLICIT PADDING in TfLite.
      auto paddings = op.getPadding();
      tensorflow::Padding padding;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

        val isCiServer = CI_ENVIRONMENT_VARIABLE in System.getenv()
        val isTravis = "TRAVIS" in System.getenv()
        val isGhActions = "GITHUB_ACTIONS" in System.getenv()
        val isTeamCity = "TEAMCITY_VERSION" in System.getenv()
        val isTeamCityParallelTestsEnabled
            get() = "TEAMCITY_PARALLEL_TESTS_ENABLED" in System.getenv()
        val isCodeQl: Boolean by lazy {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 16:58:31 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/jvmbytecode/InterceptJvmCallsGenerator.java

            CodeBlock result = interceptedCallable.getKind() == CallableKindInfo.STATIC_METHOD ? CodeBlock.of("opcode == $T.INVOKESTATIC", Opcodes.class) :
                interceptedCallable.getKind() == CallableKindInfo.INSTANCE_METHOD ? CodeBlock.of("(opcode == $1T.INVOKEVIRTUAL || opcode == $1T.INVOKEINTERFACE)", Opcodes.class) :
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:50:01 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/EnvVariableRead.groovy

    package org.gradle.internal.cc.impl.inputs.undeclared
    
    abstract class EnvVariableRead extends BuildInputRead {
        static EnvVariableRead getEnv(String name) {
            return new EnvVariableRead() {
                @Override
                String getKotlinExpression() {
                    return "System.getenv(\"$name\")"
                }
            }
        }
    
        static EnvVariableRead getEnvGet(String name) {
            return new EnvVariableRead() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. src/cmd/go/internal/cfg/cfg.go

    	}
    }
    
    // Getenv gets the value for the configuration key.
    // It consults the operating system environment
    // and then the go/env file.
    // If Getenv is called for a key that cannot be set
    // in the go/env file (for example GODEBUG), it panics.
    // This ensures that CanGetenv is accurate, so that
    // 'go env -w' stays in sync with what Getenv can retrieve.
    func Getenv(key string) string {
    	if !CanGetenv(key) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

      for (int64_t i = 0; i < input_rank; ++i) {
        int64_t input_size = input_shape[i];
        int64_t start_index =
            constant_start_indices.getValues<IntegerAttr>()[i].getInt();
        int64_t slice_size = slice_sizes.getValues<IntegerAttr>()[i].getInt();
        normalized_sizes.push_back(slice_size == -1 ? input_size - start_index
                                                    : slice_size);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top