Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for Imcasts (0.24 sec)

  1. tensorflow/compiler/mlir/quantization/common/ir/QuantOps.td

    // converting back from a quantized to quantizable (expressed) type.
    //
    // Like qcasts, a dcast is allowed to have both its operand and result
    // as non quantized types. This facilitates transformations and marks edges
    // where the computation must be carried out in the expressed type.
    //
    // Especially early in transformation, it is common to have dcasts on
    // all operands to ops that must operate with the expressed type (typically
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 09 03:10:59 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtSmartCastProvider.kt

            withValidityAssertion { analysisSession.smartCastProvider.getSmartCastedInfo(this) }
    
        /**
         * Returns the list of implicit smart-casts which are required for the expression to be called. Includes only implicit
         * smart-casts:
         *
         * ```kt
         * if (this is String) {
         *   this.substring() // 'this' receiver is explicit, so no implicit smart-cast here.
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

      if (num_cores_per_replica != 1) return success();
    
      llvm::SetVector<Value> bcasts;
      cluster->walk([&](Operation* op) {
        if (op == cluster) return WalkResult::advance();
        for (auto operand : op->getOperands()) {
          Operation* scope = operand.getParentBlock()->getParentOp();
          if (scope->isProperAncestor(replicate)) {
            bcasts.insert(operand);
          }
        }
        return WalkResult::advance();
      });
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/Cast.java

     * limitations under the License.
     */
    
    package org.gradle.internal;
    
    import javax.annotation.Nullable;
    
    public abstract class Cast {
    
        /**
         * Casts the given object to the given type, providing a better error message than the default.
         *
         * The standard {@link Class#cast(Object)} method produces unsatisfactory error messages on some platforms
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.h

    // Creates an instance of the ConvertTFQuantTypes pass, which will convert TF
    // qint types to int types and surround TF UniformQuantized ops with qint <->
    // int casts.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateConvertTFQuantTypesPass();
    
    // Creates an instance of the VerifyQuantLegalization pass, which verifies all
    // quant ops and types are lowered.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 23 01:41:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go

    				},
    				{
    					comparableLiteral:     doubleListLiteral,
    					expectedEstimatedCost: checker.CostEstimate{Min: 15, Max: 15}, expectedRuntimeCost: 15,
    				},
    				{
    					comparableLiteral:     durationListLiteral,
    					expectedEstimatedCost: checker.CostEstimate{Min: 20, Max: 20}, expectedRuntimeCost: 20, // +5 for casts
    				},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/GeneralRange.java

        return comparator;
      }
    
      boolean hasLowerBound() {
        return hasLowerBound;
      }
    
      boolean hasUpperBound() {
        return hasUpperBound;
      }
    
      boolean isEmpty() {
        // The casts are safe because of the has*Bound() checks.
        return (hasUpperBound() && tooLow(uncheckedCastNullableTToT(getUpperEndpoint())))
            || (hasLowerBound() && tooHigh(uncheckedCastNullableTToT(getLowerEndpoint())));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/parse_text_proto.cc

    #include <string>
    
    #include "absl/strings/match.h"
    #include "absl/strings/string_view.h"
    #include "tensorflow/core/lib/core/errors.h"
    #include "tensorflow/core/lib/core/status.h"
    #include "tensorflow/core/platform/casts.h"
    #include "tensorflow/core/platform/protobuf.h"
    
    namespace tensorflow {
    
    namespace {
    // Error collector that simply ignores errors reported.
    class NoOpErrorCollector : public protobuf::io::ErrorCollector {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/GeneralRange.java

        return comparator;
      }
    
      boolean hasLowerBound() {
        return hasLowerBound;
      }
    
      boolean hasUpperBound() {
        return hasUpperBound;
      }
    
      boolean isEmpty() {
        // The casts are safe because of the has*Bound() checks.
        return (hasUpperBound() && tooLow(uncheckedCastNullableTToT(getUpperEndpoint())))
            || (hasLowerBound() && tooHigh(uncheckedCastNullableTToT(getLowerEndpoint())));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_xla_call_module_op_to_bfloat16.cc

                       << result.status().message();
          return WalkResult::interrupt();
        }
        op.setModuleAttr(StringAttr::get(&getContext(), *result));
    
        // Convert the `tf.XlaCallModuleOp` to bfloat16 and add casts around it.
        builder.setInsertionPoint(op);
        for (auto& op_operand : op->getOpOperands()) {
          if (IsLargeFloatType(op_operand.get().getType())) {
            op_operand.set(builder.create<TF::CastOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 08:32:43 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top