Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,865 for Cast (0.04 sec)

  1. okhttp/src/main/kotlin/okhttp3/Request.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.net.URL
    import kotlin.reflect.KClass
    import kotlin.reflect.cast
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.internal.canonicalUrl
    import okhttp3.internal.commonAddHeader
    import okhttp3.internal.commonCacheControl
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:17:44 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc

      return cast_op && IsIllegalType(cast_op.getY().getType()) &&
             ToLegalType(cast_op.getY().getType()) == cast_op.getX().getType();
    }
    
    // Check if an op result value is consumed by qint -> int TF Cast OP.
    bool IsQintValueQintToIntCast(Value v) {
      if (!IsIllegalType(v.getType())) {
        return true;
      }
      if (v.getUsers().empty()) {
        return false;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/util/CollectionUtils.java

    import java.util.LinkedList;
    import java.util.List;
    import java.util.Map;
    import java.util.NoSuchElementException;
    import java.util.Set;
    
    import static org.gradle.internal.Cast.cast;
    import static org.gradle.internal.Cast.castNullable;
    import static org.gradle.internal.Cast.uncheckedNonnullCast;
    
    /**
     * This class is only here to maintain binary compatibility with existing plugins.
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 11:17:19 UTC 2024
    - 26K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/experimental/tac/transforms/pick_subgraphs.cc

    // will return nullptr.
    inline func::CallOp GetProducerCallOpOrNull(Value output) {
      Operation* output_op = output.getDefiningOp();
      if (output_op != nullptr && llvm::isa<func::CallOp>(output_op)) {
        return llvm::cast<func::CallOp>(output_op);
      }
      return nullptr;
    }
    
    class PickSubgraphsPass
        : public mlir::PassWrapper<PickSubgraphsPass,
                                   mlir::OperationPass<ModuleOp>> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 24 15:10:02 UTC 2022
    - 19.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollection.java

        }
    
        @Override
        public void setFromAnyValue(Object object) {
            // Currently we support just FileCollection for Groovy assign, so first try to cast to FileCollection
            FileCollectionInternal fileCollection = Cast.castNullable(FileCollectionInternal.class, Cast.castNullable(FileCollection.class, object));
    
            // Don't allow a += b or a = (a + b), this is not support
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:06:55 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

      }];
    }
    
    def TFR_CastOp : TFR_Op<"cast", [Pure]> {
      let description = [{
        The `cast` operation converts the operand with built-in tensor type to
        tfr.tensor type, or vice versa.
    
        Example:
    
        ```mlir
        %1 = tfr.cast(%0) : tensor<f32> -> !tfr.tensor
        %3 = tfr.cast(%1) : !tfr.tensor -> tensor<f32>
        ```
      }];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/quantization/quantization_context.cc

        quant::AdjacentOperations *new_items, bool *changed) {
      // Use the final state to set all the operands' parameters.
      for (int i = 0, e = op->getNumOperands(); i != e; ++i) {
        auto ele = op->getOperand(i).getType().cast<ShapedType>().getElementType();
        if (ele.isa<FloatType>() && SetOperandParams(op, i, params)) {
          *changed |= true;
          new_items->push_back(op->getOperand(i).getDefiningOp());
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionPlaceholder.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.serialize;
    
    import org.gradle.api.JavaVersion;
    import org.gradle.internal.Cast;
    import org.gradle.internal.InternalTransformer;
    import org.gradle.internal.UncheckedException;
    import org.gradle.internal.exceptions.Contextual;
    import org.gradle.internal.exceptions.DefaultMultiCauseException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/MessageHub.java

                if (handler instanceof Dispatch) {
                    dispatch = Cast.uncheckedNonnullCast(handler);
                } else {
                    dispatch = DISCARD;
                }
                BoundedDispatch<Object> boundedDispatch;
                if (dispatch instanceof BoundedDispatch) {
                    boundedDispatch = Cast.uncheckedNonnullCast(dispatch);
                } else {
                    boundedDispatch = DISCARD;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationContainer.java

    import org.gradle.api.internal.artifacts.ivyservice.moduleconverter.RootComponentMetadataBuilder;
    import org.gradle.internal.Actions;
    import org.gradle.internal.Cast;
    import org.gradle.internal.Factory;
    import org.gradle.internal.artifacts.configurations.AbstractRoleBasedConfigurationCreationRequest;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 00:10:35 UTC 2024
    - 17.8K bytes
    - Viewed (0)
Back to top