Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for unpackcmd (0.3 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

            def value = property.calculateValue(ValueSupplier.ValueConsumer.IgnoreUnsafeRead)
            def executionTimeValue = property.calculateExecutionTimeValue()
            then:
            0 * _ // no side effects until values are unpacked
    
            when:
            def unpackedValue = value.get()
            then:
            unpackedValue == toImmutable(expectedUnpackedValue)
            1 * sideEffect1.execute("some value")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.cc

    absl::StatusOr<mhlo::TupleOp> Tf2XlaRewriter::CompileWithHloImporter(
        tensorflow::OpKernelContext& op_context) {
      // XLA can only return a single value. Wrap all output op return values
      // in a Tuple op that gets unpacked later.
      std::vector<xla::XlaOp> output_values;
      for (int i = 0, e = op_->getNumResults(); i < e; i++) {
        tensorflow::Tensor* output = op_context.mutable_output(i);
        const tensorflow::XlaExpression* expr =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            property.calculateValue(ValueSupplier.ValueConsumer.IgnoreUnsafeRead)
            property.calculateExecutionTimeValue()
    
            then:
            0 * _ // no side effects when calling setter or calculated values are not unpacked
    
            when:
            def unpackedValue = getter(property, getter, someOtherValue())
    
            then:
            unpackedValue == someValue()
            1 * sideEffect.execute(someValue())
            0 * _
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/resolver.go

    // unpackRecv unpacks a receiver type and returns its components: ptr indicates whether
    // rtyp is a pointer receiver, rname is the receiver type name, and tparams are its
    // type parameters, if any. The type parameters are only unpacked if unpackParams is
    // set. If rname is nil, the receiver is unusable (i.e., the source has a bug which we
    // cannot easily work around).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. src/go/types/resolver.go

    // unpackRecv unpacks a receiver type and returns its components: ptr indicates whether
    // rtyp is a pointer receiver, rname is the receiver type name, and tparams are its
    // type parameters, if any. The type parameters are only unpacked if unpackParams is
    // set. If rname is nil, the receiver is unusable (i.e., the source has a bug which we
    // cannot easily work around).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  6. src/os/file.go

    // if a call that takes a file name fails, such as [Open] or [Stat], the error
    // will include the failing file name when printed and will be of type
    // [*PathError], which may be unpacked for more information.
    //
    // The os interface is intended to be uniform across all operating systems.
    // Features not generally available appear in the system-specific package syscall.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:37 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      // CHECK: %[[UNPACK:.*]]:2 = "tf.Unpack"(%[[NEG]]) <{axis = 1 : i64}> {device = ""}
      %unpacked:2 = "tf.Unpack"(%arg0) {axis = 1 : i64, device = ""}
                    : (tensor<?x2xf32>) -> (tensor<?xf32>, tensor<?xf32>)
      %0 = "tf.Neg"(%unpacked#0): (tensor<?xf32>) -> tensor<?xf32>
      %1 = "tf.Neg"(%unpacked#1): (tensor<?xf32>) -> tensor<?xf32>
    
      // CHECK: return %[[UNPACK]]#0, %[[UNPACK]]#1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/working_with_files.adoc

    include::sample[dir="snippets/files/archives/groovy",files="build.gradle[tags=unpack-archive-example]"]
    ====
    
    As with a normal copy, you can control which files are unpacked via <<#sec:filtering_files,filters>> and even <<#sec:renaming_files,rename files>> as they are unpacked.
    
    More advanced processing can be handled by the link:{groovyDslPath}/org.gradle.api.tasks.AbstractCopyTask.html#eachFile(org.gradle.api.Action)[eachFile()] method.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 70.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

          if (!data_ty || !data_ty.hasStaticShape()) return failure();
        }
    
        // Compute type of each of the items and shape to use while reshaping inputs
        // so that they can be unpacked to extract out individual items.
        ArrayRef<int64_t> item_shape = out_ty.getShape().drop_front(1);
        auto item_ty = tensorflow::GetTypeFromTFTensorShape(
            item_shape, out_ty.getElementType());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        auto unpack = rewriter.create<TF::UnpackOp>(loc, unpack_output_type, input,
                                                    /*axis=*/0);
    
        // Concatenate the unpacked tensors along the first dimension.
        // Since we're concatenating along first dimension, change its dim size to
        // -1.
        output_shape[0] = -1;
        Value scalar_zero = CreateI32SplatConst(loc, &rewriter, {}, 0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
Back to top