Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 49 for do (0.06 sec)

  1. tensorflow/compiler/aot/test.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    // Generated by the tf_library build rule.  DO NOT EDIT!
    //
    // This file contains a test and benchmark for the function generated by
    // tfcompile.  All tokens of the form `{{TFCOMPILE_*}}` must be rewritten to
    // real values before this file can be compiled.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. tensorflow/c/python_api.cc

    #include "tensorflow/core/framework/cpp_shape_inference.pb.h"
    #include "tensorflow/core/framework/full_type.pb.h"
    
    namespace tensorflow {
    
    // Hack to export the tensorflow::RecordMutation symbol for windows.
    // Do not delete. Do not use.
    void ExportRecordMutation(  // NOLINT: Intentionally unused function.
        TF_Graph* graph, const TF_Operation& op, const char* mutation_type) {
      mutex_lock l(graph->mu);
      RecordMutation(graph, op, mutation_type);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 12 18:48:56 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.cc

      if (!(indices_size == shared_name_size &&
            shared_name_size == container_size)) {
        return get_resource_op->emitError()
               << "length of attribute arrays do not match. indices = "
               << indices_size << ", shared_name = " << shared_name_size
               << ", container = " << container_size;
      }
    
      return success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/optimize_op_order.cc

            get_num_elements(input_type) <= get_num_elements(output_type)) {
          return failure();
        }
        Type input_element_type = getElementTypeOrSelf(dequantize_op.getInput());
        // Most passthrough ops do not support F16.
        if (input_element_type.isF16()) {
          return failure();
        }
    
        // Set the output type of the dequantize op and push it down.
        dequantize_op.getOutput().setType(output_type);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/bridge_logger_test.cc

      EXPECT_TRUE(
          logger_config1.ShouldPrint(dummy_pass.get(), mlir_module_with_add.get()));
      EXPECT_TRUE(
          logger_config1.ShouldPrint(dummy_pass.get(), mlir_module_with_sub.get()));
    
      // Both strings do not appear in any module.
      setenv("MLIR_BRIDGE_LOG_STRING_FILTER", "func @main(%arg0:tensor;XXX", 1);
      BridgeLoggerConfig logger_config2;
      EXPECT_FALSE(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 04:50:13 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/transforms.cc

    }
    
    void AddStablehloOptimizationPasses(OpPassManager& pm) {
      // The current plan of record is to avoid doing optimization passes
      // on StableHLO, treating StableHLO purely as an input format, and do all
      // optimizations via MHLO passes that can be shared with the OpenXLA compiler.
      // Therefore, this function inserts a StableHLO <=> MHLO roundtrip to make
      // this happen.
    
      // StableHLO -> MHLO legalization.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 04:34:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/decompose_hybrid_quantization.cc

    // requantizing if a quantized output is required.
    //
    // The motivation behind these changes is for Dialects that assume only float
    // or quantized computation, and do not support a mixture of these types on
    // dense operations. Decomposition allows TFLite to be compiled to these
    // dialects, such as TOSA.
    
    #include <utility>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/verify_tfxla_legalization.cc

        "/tensorflow/core/tf2xla/"
        "mlir_second_phase_non_static_op_count",
        "Counts which ops do not have static results", "op_name");
    
    auto* mlir_non_static_op_skip_count = tensorflow::monitoring::Counter<1>::New(
        "/tensorflow/core/tf2xla/"
        "mlir_second_phase_non_static_op_skip_count",
        "Counts skipped ops which do not have static results", "op_name");
    
    static const char* kMustBeConstantError =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/optimize_global_tensors.cc

        }
      }
    
      return global_tensor_uses;
    }
    
    // Removes `is_mutable` attribute from tf_saved_model.global_tensor ops where we
    // can prove it is safe to do so.
    void MarkGlobalTensorsImmutable(
        ModuleOp module, const GlobalTensorUsesMap& global_tensor_uses_map,
        const TF::ResourceAnalyzer& resource_analyzer) {
      for (const auto& kv : global_tensor_uses_map) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor.cc

      };
    
      pm.addPass(mlir::tf_executor::CreateTFExecutorTPUV1IslandInliningPass());
      // There are cases where we don't consume all compilation and
      // replication attributes like we do for the V2 pipeline, so we need to
      // convert them from unified to legacy attributes before they get
      // exposed to outside of the bridge.
      pm.addNestedPass<FuncOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 16 03:41:02 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top