Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,370 for Cast (0.17 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

            /*
             * We have an Iterator<E> and want to cast it to
             * MultiExceptionListIterator. Because we're inside an
             * AbstractIteratorTester<E>, that's implicitly a cast to
             * AbstractIteratorTester<E>.MultiExceptionListIterator. The runtime
             * won't be able to verify the AbstractIteratorTester<E> part, so it's
             * an unchecked cast. We know, however, that the only possible value for
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  2. pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller.go

    		FilterFunc: func(obj interface{}) bool {
    			if cast, ok := obj.(*corev1.ConfigMap); ok {
    				return cast.Namespace == configMapNamespace && cast.Name == configMapName
    			}
    			if tombstone, ok := obj.(cache.DeletedFinalStateUnknown); ok {
    				if cast, ok := tombstone.Obj.(*corev1.ConfigMap); ok {
    					return cast.Namespace == configMapNamespace && cast.Name == configMapName
    				}
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

    class GetDimSizeOfType<int dim> : NativeCodeCall<
      "GetScalarOfType(getElementTypeOrSelf($1), "
      "$0.getType().cast<RankedTensorType>().getDimSize(" # dim # "))">;
    
    // Same as the above with i32 element type.
    class GetDimSizeAsI32<int dim> : NativeCodeCall<
      "GetScalarOfType($_builder.getIntegerType(32), "
      "$0.getType().cast<RankedTensorType>().getDimSize(" # dim # "))">;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultBuildActionExecuter.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.tooling.internal.consumer;
    
    import org.gradle.internal.Cast;
    import org.gradle.tooling.BuildAction;
    import org.gradle.tooling.BuildActionExecuter;
    import org.gradle.tooling.GradleConnectionException;
    import org.gradle.tooling.IntermediateResultHandler;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.h

          if (operands.size() != 1 || updates.size() != 1) return failure();
    
          ShapedType operand_type = mlir::cast<ShapedType>(operands[0].getType());
          ShapedType indices_type = mlir::cast<ShapedType>(indices.getType());
          ShapedType updates_type = mlir::cast<ShapedType>(updates[0].getType());
    
          Value new_updates = updates[0];
    
          // Can only convert with static shaped scatter.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util_test.cc

          {},
          // Nodes
          {
              {{"two"},
               "Const",
               {},
               {{"value", test::AsScalar<int32>(2)}, {"dtype", DT_INT64}}},
              {{"scale"},
               "Cast",
               {"two"},
               {{"SrcT", DT_INT64}, {"DstT", DT_FLOAT}}},
              {{"y"}, "Mul", {"x", "scale"}, {{"T", DT_FLOAT}}},
          });
    
      tensorflow::set_tf2_execution(true);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 19:51:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/layout_optimization.cc

      auto attr = mlir::cast<DenseElementsAttr>(permutation_op.getValue());
      for (const auto& value : attr.getValues<APInt>())
        permutation.push_back(value.getSExtValue());
    
      // Check if we can fold transpose into the operation.
      if (fold_operands && fold_transpose_in_ops) {
        SmallVector<int64_t, 8> permutation;
    
        auto attr = mlir::cast<DenseElementsAttr>(permutation_op.getValue());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/software/internal/DefaultSoftwareTypeRegistry.java

    import org.gradle.api.Project;
    import org.gradle.api.initialization.Settings;
    import org.gradle.api.internal.tasks.properties.InspectionScheme;
    import org.gradle.api.internal.plugins.software.SoftwareType;
    import org.gradle.internal.Cast;
    import org.gradle.internal.properties.annotations.PropertyMetadata;
    import org.gradle.internal.properties.annotations.TypeMetadata;
    import org.gradle.internal.properties.annotations.TypeMetadataWalker;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:31 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

          ShapedType new_output_type = ConvertIntToQint(
              mlir::cast<ShapedType>(output_type), rewriter.getContext());
          if (!new_output_type) {
            dq_op->emitError(
                "Failed to convert the type to the corresponding qtype.");
            return failure();
          }
          output_type = mlir::cast<TensorType>(new_output_type);
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

            /*
             * We have an Iterator<E> and want to cast it to
             * MultiExceptionListIterator. Because we're inside an
             * AbstractIteratorTester<E>, that's implicitly a cast to
             * AbstractIteratorTester<E>.MultiExceptionListIterator. The runtime
             * won't be able to verify the AbstractIteratorTester<E> part, so it's
             * an unchecked cast. We know, however, that the only possible value for
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top