Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getDstT (0.15 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. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/AstUtils.java

            source.getAST().getStatementBlock().visit(transformer);
            for (Object method : source.getAST().getMethods()) {
                MethodNode methodNode = (MethodNode) method;
                methodNode.getCode().visit(transformer);
            }
        }
    
        public static ClassNode getScriptClass(SourceUnit source) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  5. 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)
  6. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/ModelBlockTransformer.java

         */
    
        @Override
        public void call(SourceUnit source) throws CompilationFailedException {
            List<Statement> statements = source.getAST().getStatementBlock().getStatements();
            for (Statement statement : statements) {
                ScriptBlock scriptBlock = AstUtils.detectScriptBlock(statement, SCRIPT_BLOCK_NAMES);
                if (scriptBlock == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. 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)
  8. subprojects/core/src/test/groovy/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandlerTest.groovy

                    return Phases.CANONICALIZATION
                }
    
                @Override
                void call(SourceUnit source) throws CompilationFailedException {
                    source.getAST().getStatementBlock().visit(new CodeVisitorSupport() {
                        @Override
                        void visitMethodCallExpression(MethodCallExpression call) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 08:24:10 UTC 2023
    - 19.4K bytes
    - Viewed (0)
  9. 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)
  10. 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