Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 116 for lowering (0.24 sec)

  1. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

                              bool preserve_assert_op) {
        this->run_tfl_runtime_verification_ = run_tfl_runtime_verification;
        this->preserve_assert_op_ = preserve_assert_op;
      }
    
      /// Performs the lowering to TFLite dialect.
      void runOnOperation() override;
    };
    
    // Util that casts 'val' to Int32 by adding a cast Op.
    Value CreateCastToInt32(Value val, Location loc, PatternRewriter& rewriter) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config.cc

          TypeID::get<TF::AssertOp>(),
    
          // TF2XLA fallback pattern doesn't support these op as MLIR hlo builder
          // doesn't override the necessary builder methods. These ops have simple
          // lowering pattern so this should be safe.
          TypeID::get<TF::CrossReplicaSumOp>(),
          TypeID::get<TF::InfeedDequeueTupleOp>(),
          TypeID::get<TF::OutfeedEnqueueTupleOp>(),
          TypeID::get<TF::XlaShardingOp>(),
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/dwarfgen/dwinl.go

    				// In the top-level case (ii=0) this can happen
    				// because a composite variable was split into pieces,
    				// and we're looking at a piece. We can also see
    				// return temps (~r%d) that were created during
    				// lowering, or unnamed params ("_").
    				v.ChildIndex = int32(synthCount)
    				synthCount++
    			}
    		}
    	}
    
    	// Make a second pass through the progs to compute PC ranges for
    	// the various inlined calls.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

                    // generated, which requires a container source to be provided. Without a facade class, function IR symbols will have
                    // an `IrExternalPackageFragment` parent, which trips up code generation during IR lowering.
                    val psiSourceFile =
                        descriptor.toSourceElement.containingFile as? PsiSourceFile ?: return super.getContainerSource(descriptor)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 08:42:45 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/passes.td

            "When specified to true, if the tensorlist ops has unspecified batch "
            "size, this pass will assume that the batch size is one to proceed "
            "tensorlist op lowering (default true)">,
          Option<"enable_dynamic_update_slice_", "enable-dynamic-update-slice",
                 "bool", "false", "When specified to true, lower TensorListSetItem with "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/compile.go

    	// the rules in late lower run after the general rules.
    	{"lower", "late lower"},
    	// late lower may generate some values that need to be CSEed.
    	{"late lower", "lowered cse"},
    	// checkLower must run after lowering & subsequent dead code elim
    	{"lower", "checkLower"},
    	{"lowered deadcode", "checkLower"},
    	{"late lower", "checkLower"},
    	// late nilcheck needs instructions to be scheduled.
    	{"schedule", "late nilcheck"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

      // TODO(b/157054714): When a better abstraction instead of _TPUCompileMlirOp
      // and _XlaRecvAtHostOp and _XlaSendFromHostOp are used, update to a more
      // structured lowering.
      old_parallel_execute.walk(
          [&](TF::_XlaCompileMlirPlaceholderProgramKeyOp key_op) {
            key_op.replaceAllUsesWith(compile_op->getResult(1));
            key_op.erase();
          });
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc

    template <typename UniformQuantizedConvolutionOp>
    FailureOr<SmallVector<NamedAttribute>> ConvertToMhloConvolutionOpAttrs(
        UniformQuantizedConvolutionOp op, PatternRewriter &rewriter) {
      // TODO(b/261005147): Update the lowering logic after migration to mhlo
      // ConvolutionDimensionNumbers.
      ::tensorflow::UniformQuantizedConvolutionDimensionNumbersAttr dnums_input;
      if (!dnums_input.ParseFromString(std::string(op.getDimensionNumbers()))) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

      float half_range = is_unsigned ? 0 : 128;
      return GetScalarOfType(builder->getF32Type(), half_range);
    }
    
    // Returns reduction indices to use while lowering tf.BiasAddGrad op to tf.Sum
    // op.
    DenseIntElementsAttr GetBiasAddGradReductionIndices(int64_t rank,
                                                        StringAttr data_format,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

        This op is rewritten to generic ops that perform the scale and shift
        and can operate on non-quantized types.
    
        Currently, TF_DequantizeOp is the only op with a lowering that falls
        in this category. When more lowerings are added (e.g. QuantizeV2Op),
        they should be added to this pass.
      }];
    
      let constructor = "TF::CreateLowerQuantizedPass()";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
Back to top