Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getDstT (0.1 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc

        return false;
      }
      // Consider CastOp illegal if either of its Src/Dst type is qint and is
      // connected to a non-UQ op.
      if (IsIllegalType(cast_op.getSrcT()) &&
          !(cast_op.getX().getDefiningOp() &&
            IsTFUniformQuantizedOp(cast_op.getX().getDefiningOp()))) {
        return false;
      }
      if (IsIllegalType(cast_op.getDstT()) &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc

      using OpConversionPattern::OpConversionPattern;
    
      LogicalResult matchAndRewrite(
          TF::CastOp op, TF::CastOpAdaptor adaptor,
          ConversionPatternRewriter &rewriter) const override {
        Type output_type = op.getDstT();
        if (!IsTFQintType(output_type) && !IsTFQintType(op.getSrcT())) {
          // skip CastOps with no qint types.
          return failure();
        }
        Value input = adaptor.getX();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

            // Consider cast compatibility in case
            //    %cast = "tf.Cast"(%0) : (tensor<2xi64>) -> tensor<2xf32>
            // is skipped.
            if (cast_op.getSrcT() != cast_op.getDstT()) {
              break;
            }
            value = cast_op.getOperand();
          }
          return value;
        };
        Value first_arg = get_defining_op(std::get<0>(it));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  4. internal/ringbuffer/ring_buffer.go

    	r.mu.Lock()
    	defer r.mu.Unlock()
    	getDst := func(n int) []byte {
    		if cap(dst) < n {
    			return make([]byte, n)
    		}
    		return dst[:n]
    	}
    
    	if r.w == r.r {
    		if r.isFull {
    			buf := getDst(r.size)
    			copy(buf, r.buf[r.r:])
    			copy(buf[r.size-r.r:], r.buf[:r.w])
    			return buf
    		}
    		return nil
    	}
    
    	if r.w > r.r {
    		buf := getDst(r.w - r.r)
    		copy(buf, r.buf[r.r:r.w])
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java

                hasPackageStatement = source.getAST().getPackageName() != null;
            }
        }
    
        private static class EmptyScriptDetector extends CompilationUnit.SourceUnitOperation {
            private boolean emptyScript;
            private boolean hasMethods;
    
            @Override
            public void call(SourceUnit source) {
                if (!source.getAST().getMethods().isEmpty()) {
                    hasMethods = true;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKuromojiTokenizerFactory.java

                            tokenizerTimestamp = dictionaryTimestamp;
                            userDictionaryField.set(tokenizer, userDictionary);
                            final TokenInfoFST userFst = userDictionary.getFST();
                            userFSTField.set(tokenizer, userFst);
                            userFSTReaderField.set(tokenizer, userFst.getBytesReader());
                            @SuppressWarnings("unchecked")
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. operator/pkg/apis/istio/v1alpha1/values_types.pb.go

    func (x *GlobalConfig) GetJwtPolicy() string {
    	if x != nil {
    		return x.JwtPolicy
    	}
    	return ""
    }
    
    func (x *GlobalConfig) GetSts() *STSConfig {
    	if x != nil {
    		return x.Sts
    	}
    	return nil
    }
    
    func (x *GlobalConfig) GetRevision() string {
    	if x != nil {
    		return x.Revision
    	}
    	return ""
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 329.6K bytes
    - Viewed (0)
Back to top