Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 230 for unpacked (0.28 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. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/artifact_transforms.adoc

    - You can supply any type implementing link:{groovyDslPath}/org.gradle.api.artifacts.transform.TransformAction.html[TransformAction] to the `registerTransform()` method.
    
    For example, imagine you want to unpack some dependencies and put the unpacked directories and files on the classpath.
    You can do so by registering an artifact transform action of type `Unzip`, as shown here:
    
    .Artifact transform registration without parameters
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  5. tensorflow/cc/experimental/libtf/object.h

      template <class T>
      friend tensorflow::StatusOr<T> Cast(Handle handle);
      /// Infrastructure for converting a TaggedValue tuple function signature to an
      /// unpacked variable list.
      template <typename Fn, class TRET, class... ArgsOut>
      friend class UneraseCallHelper;
    };
    
    // Forward declare.
    template <class T>
    tensorflow::StatusOr<T> Cast(Handle handle);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 11 08:05:36 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/NestedInputIntegrationTest.groovy

                myTask.nested = [new NamedBean('name', 'value1'), new NamedBean('name', 'value2')]
            """
    
            expect:
            succeeds "myTask"
        }
    
        def "nested Provider is unpacked"() {
            buildFile << taskWithNestedInput()
            buildFile << nestedBeanWithStringInput()
            buildFile << """
                myTask.nested = provider { new NestedBean(providers.gradleProperty('input').get()) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  7. src/encoding/gob/doc.go

    stored), followed by the usual encoding of concrete (dynamic) value stored in
    the interface value. (A nil interface value is identified by the empty string
    and transmits no value.) Upon receipt, the decoder verifies that the unpacked
    concrete item satisfies the interface of the receiving variable.
    
    If a value is passed to [Encoder.Encode] and the type is not a struct (or pointer to struct,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/resolver.go

    				check.methods[base] = append(check.methods[base], m.obj)
    			}
    		}
    	}
    }
    
    // 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. src/go/types/resolver.go

    			check.methods[base] = append(check.methods[base], m.obj)
    		}
    	}
    }
    
    // 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-communication.mlir

      },  {
        "mhlo.return"(%arg1) : (tensor<f32>) -> ()
      }) : (tensor<i1>) -> tensor<f32>
      func.return %1 : tensor<f32>
    }
    
    // -----
    
    // Tests `mhlo.if` with tuple arg not from a `mhlo.tuple` is unpacked.
    
    // CHECK-LABEL: func @if_unpack_tuple_arg
    // CHECK-SAME:  ([[ARG0:%.*]]: tensor<i1>, [[ARG1:%.*]]: tuple<tensor<f32>, tensor<f32>>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 08 18:24:20 UTC 2024
    - 38.3K bytes
    - Viewed (0)
Back to top