Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for GetEnum (0.14 sec)

  1. tensorflow/compiler/mlir/lite/schema/schema_generated.h

      if (values->size() != types->size()) return false;
      for (::flatbuffers::uoffset_t i = 0; i < values->size(); ++i) {
        if (!VerifyQuantizationDetails(
            verifier,  values->Get(i), types->GetEnum<QuantizationDetails>(i))) {
          return false;
        }
      }
      return true;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1M bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DefaultDaemonConnectorTest.groovy

                return { connection } as ConnectCompletion
            }
        }
    
        def createAddress(int i) {
            new Address() {
                int getNum() { i }
    
                String getDisplayName() { getNum() }
            }
        }
    
        def createConnector() {
            def connector = Spy(DefaultDaemonConnector, constructorArgs: [
                    new EmbeddedDaemonRegistry(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. src/time/format.go

    		case stdHour:
    			hour, value, err = getnum(value, false)
    			if hour < 0 || 24 <= hour {
    				rangeErrString = "hour"
    			}
    		case stdHour12, stdZeroHour12:
    			hour, value, err = getnum(value, std == stdZeroHour12)
    			if hour < 0 || 12 < hour {
    				rangeErrString = "hour"
    			}
    		case stdMinute, stdZeroMinute:
    			min, value, err = getnum(value, std == stdZeroMinute)
    			if min < 0 || 60 <= min {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

        Operation* op, PatternRewriter& rewriter) const {
      auto tf_unpack_op = cast<TF::UnpackOp>(op);
    
      auto input = tf_unpack_op.getValue();
      auto num = rewriter.getI32IntegerAttr(tf_unpack_op.getNum());
      // Axis can be negative.
      auto axis = rewriter.getI32IntegerAttr(tf_unpack_op.getAxis());
    
      rewriter.replaceOpWithNewOp<UnpackOp>(op, tf_unpack_op.getOutput().getTypes(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        if (!result_type || !result_type.hasStaticShape()) {
          return failure();
        }
    
        DenseIntElementsAttr num_attr;
        if (!matchPattern(op.getNum(), m_Constant(&num_attr))) {
          return rewriter.notifyMatchFailure(op, "Num must be a constant scalar");
        }
    
        if (num_attr.begin() == num_attr.end()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

        // The unpack & pack should have the same axis & num inputs/outputs.
        if (pack_op.getAxis() != input_unpack_op.getAxis() ||
            pack_op.getValuesCount() != input_unpack_op.getNum())
          return failure();
    
        const int total_pack_inputs = pack_op.getNumOperands();
        const int num_results = input_unpack_op.getNumResults();
        if (total_pack_inputs != num_results) return failure();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top