Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for const3 (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

      %index_in_list = "tf.Const"() {value = dense<0> : tensor<1xi32>} : () -> tensor<1xi32>
      %arg0_shape = "tf.Const"() {value = dense<[1, 8, 4]> : tensor<3xi32>} : () -> tensor<3xi32>
      %arg0_reshaped = "tf.Reshape"(%arg0, %arg0_shape) : (tensor<8x4xf32>, tensor<3xi32>) -> tensor<1x8x4xf32>
      %zeroi2 = "tf.Const"() {value = dense<0> : tensor<2xi32>} : () -> tensor<2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights.cc

    // quantization API
    TfLiteStatus QuantizeWeights(
        flatbuffers::FlatBufferBuilder* builder, const tflite::Model* input_model,
        const tflite::TensorType& inference_type,
        const absl::flat_hash_set<std::string>& denylisted_ops,
        const CustomOpMap& custom_op_map, int64_t minimum_elements_for_weights,
        bool disable_per_channel, bool weight_only_quantization,
        bool legacy_float_scale) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model.h

    // the values with the TOCO quantizer.
    TfLiteStatus QuantizeModel(
        absl::string_view model_buffer, const tflite::TensorType &input_type,
        const tflite::TensorType &output_type,
        const tflite::TensorType &inference_type,
        const std::unordered_set<std::string> &operator_names,
        bool disable_per_channel, bool fully_quantize, std::string &output_buffer,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter_test.cc

      };
      const auto subgraphs = {CreateSubgraphMetadata(
          fb_builder, fb_builder.CreateVector(ops.begin(), ops.size()))};
    
      const auto metadata = CreateRuntimeMetadata(
          fb_builder, hardwares,
          fb_builder.CreateVector(subgraphs.begin(), subgraphs.size()));
      fb_builder.Finish(metadata);
    
      return std::string(
          reinterpret_cast<const char*>(fb_builder.GetBufferPointer()),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/stream_executor/stream_executor.cc

      return absl::OkStatus();
    }
    
    absl::Status ValidateSPAllocatorStats(const SP_AllocatorStats& stats) {
      TF_VALIDATE_STRUCT_SIZE(SP_AllocatorStats, stats,
                              SP_ALLOCATORSTATS_STRUCT_SIZE);
      // All other fields could theoretically be zero/null.
      return absl::OkStatus();
    }
    
    absl::Status ValidateSPDeviceMemoryBase(const SP_DeviceMemoryBase& mem) {
      TF_VALIDATE_STRUCT_SIZE(SP_DeviceMemoryBase, mem,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/python/converter_python_api.cc

      const tflite::TensorType inference_tensor_type =
          FromTocoDataTypeToTflitToTensorType(inference_type);
      const tflite::TensorType input_type =
          FromTocoDataTypeToTflitToTensorType(input_data_type);
      const tflite::TensorType output_type =
          FromTocoDataTypeToTflitToTensorType(output_data_type);
    
      std::string output_model;
      const absl::string_view input_model_buffer(buf, length);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.h

                              const GraphExportConfig& configs,
                              std::unique_ptr<Graph>* graph,
                              FunctionLibraryDefinition* flib_def);
    
    // Converts an MLIR function and adds it to a FunctionLibraryDefinition.
    Status ConvertMlirFunctionToFunctionLibraryDef(mlir::func::FuncOp func,
                                                   const GraphExportConfig& configs,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc

     public:
      using OpRewritePattern::OpRewritePattern;
      LogicalResult matchAndRewrite(TF::OptionalFromValueOp op,
                                    PatternRewriter& rewriter) const override {
        Value value = nullptr;
        for (auto v : op.getComponents()) {
          value = v;
        }
        if (!value) return failure();
        rewriter.replaceOpWithNewOp<TF::IdentityOp>(op, value.getType(), value);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptEvaluator.kt

            companion object {
                const val JVM_TARGET = "jvmTarget"
                const val ALL_WARNINGS_AS_ERRORS = "allWarningsAsErrors"
                const val SKIP_METADATA_VERSION_CHECK = "skipMetadataVersionCheck"
                const val TEMPLATE_ID = "templateId"
                const val SOURCE_HASH = "sourceHash"
                const val COMPILATION_CLASS_PATH = "compilationClassPath"
                const val ACCESSORS_CLASS_PATH = "accessorsClassPath"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 10:23:24 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/JavaObjectSerializationCodecTest.kt

            companion object {
    
                const val EXPECTED_SHORT: Short = Short.MAX_VALUE
    
                const val EXPECTED_BYTE: Byte = 42
    
                const val EXPECTED_INT: Int = 42
    
                const val EXPECTED_LONG: Long = 42L
    
                const val EXPECTED_STRING: String = "42"
    
                const val EXPECTED_FLOAT: Float = 1.618f
    
                const val EXPECTED_DOUBLE: Double = Math.PI
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top