Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 333 for transformAction (0.23 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/preprocess_op.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    // This transformation pass applies quantization propagation on TF dialect.
    
    #include <cstdint>
    #include <memory>
    #include <utility>
    
    #include "llvm/Support/CommandLine.h"
    #include "mlir/Dialect/Arith/IR/Arith.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/transforms/get_alternative_subgraph.cc

    // cannot be run on other deviecs):
    //
    // We will try:
    // 1) If we can do some mathmatically equaivalent transformation so this
    //   subgraph can be run on other devices.
    // 2) We will other apply device-specifics optimizations as well, that includes
    //   maybe tensor layout transformation, device specific fusion, etc.
    class AlternativeSubgraphPass
        : public mlir::PassWrapper<AlternativeSubgraphPass,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  3. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/symbols/AbstractSymbolTest.kt

                addIfNotNull(defaultRendererOption)
                addAll(directives[PRETTY_RENDERER_OPTION])
            }.fold(defaultRenderer) { acc, prettyRenderingMode ->
                prettyRenderingMode.transformation(acc)
            }
    
            fun KaSession.safePointer(ktSymbol: KaSymbol): PointerWrapper? {
                val regularPointer = ktSymbol.runCatching {
                    createPointerForTest(disablePsiBasedSymbols = false)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/grappler/grappler.h

    void TF_InitGraph(TP_OptimizerRegistrationParams* params, TF_Status* status);
    
    // Get a set of node names that must be preserved. They can not be transformed
    // or removed during the graph transformation. This includes feed and fetch
    // nodes, keep_ops, init_ops. Fills in `num_values` and `storage_size`, they
    // will be used in `TF_GetNodesToPreserveList`.
    TF_CAPI_EXPORT extern void TF_GetNodesToPreserveListSize(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 03 18:08:43 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tf_tfl_translate.cc

      tensorflow::InitMlir y(&argc, &argv);
    
      // TODO(antiagainst): We are pulling in multiple transformations as follows.
      // Each transformation has its own set of command-line options; options of one
      // transformation can essentially be aliases to another. For example, the
      // -tfl-annotate-inputs has -tfl-input-arrays, -tfl-input-data-types, and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc

          RankedTensorType::get(transform_shape, getElementTypeOrSelf(input));
      return builder.create<TF::SpaceToDepthOp>(
          cluster_func.getLoc(), transform_result_type, input, block_size);
    }
    
    // Performs transformation for a non-replicated input.
    TF::SpaceToDepthOp HandleHostInput(Value input, int64_t index,
                                       tf_device::ClusterFuncOp cluster_func,
                                       int32_t block_size,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.proto

    // Next ID: 2
    message TfSavedModelConfig {
      // Set of tags that uniquely identify the `MetaGraphDef` existing in the
      // input SavedModel.
      repeated string tags = 1;
    }
    
    // Configures the graph transformation pipeline for quantization.
    message PipelineConfig {
      // When set to True, unpacks ops with uniform quantized types into operations
      // without uniform quantized types (mostly i8 or i32). Useful when the target
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/jvm/groovy_plugin.adoc

    .Declaring AST transformations
    ====
    include::sample[dir="snippets/groovy/compilationAvoidance/kotlin/ast-transformation-consumer", files="build.gradle.kts[tags=groovy-compilation-avoidance]"]
    include::sample[dir="snippets/groovy/compilationAvoidance/groovy/ast-transformation-consumer", files="build.gradle[tags=groovy-compilation-avoidance]"]
    ====
    
    [[sec:incremental_groovy_compilation]]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc

          // should be a region capture. If this has any use other than the
          // replicate op (within the body of the while) or the skipped identities,
          // then do not apply the transformation to this variable.
          bool is_region_capture =
              replicate_operand.getParentRegion()->isProperAncestor(&body);
          bool has_other_use_in_body =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

              &q_builder, input_model, quantized_type, use_updated_hybrid_scheme,
              ::tflite::optimize::QuantizerType::OLD_QUANTIZER) != kTfLiteOk) {
        return absl::InvalidArgumentError(
            "Quantize weights transformation failed.");
      }
      const uint8_t* q_buffer = q_builder.GetBufferPointer();
      *result =
          std::string(reinterpret_cast<const char*>(q_buffer), q_builder.GetSize());
    
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
Back to top