Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 129 for created (0.22 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/instrumentations/save_report_test.cc

          report_file_path));
    
      const LogicalResult run_result = pm.run(*module_op);
      ASSERT_TRUE(succeeded(run_result));
    
      // The report file is not created because `QuantizeCompositeFunctionsPass` was
      // not run.
      EXPECT_THAT(ReadFileToString(report_file_path),
                  StatusIs(absl::StatusCode::kNotFound));
    }
    
    TEST_F(SaveQuantizationReportInstrumentationTest,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/quantize_passes.cc

            mlir::quant::stablehlo::FillPresetQuantizationOptions(
                quantization_options);
      }
    
      // TODO: b/276999414 - Add activation and bias quantization component as
      // respective quantization passes are created.
      QuantizationComponentSpec weight_component;
      for (const auto& component : quantization_options_.quantization_method()
                                       .custom_quantization_method()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 08:32:43 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/pjrt_base_device.cc

                    options.shape_determination_fns) {
      if (options.shape_determination_fns.empty()) {
        LOG(ERROR) << "shape_representation_fns must be non-empty.";
      }
      VLOG(1) << "Created PJRT base device " << options.compilation_device_name
              << " device_name: " << name();
    }
    
    /*static*/ absl::StatusOr<const PjRtBaseDevice::Metadata*>
    PjRtBaseDevice::GetMetadataFromDevice(DeviceBase* device) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_kernel_creator_test.cc

          ToNodeProperties(R"pb(
            name: 'XTimesY' op: 'XTimesY' input: 'a' input: 'b'
          )pb");
      (*(callsite->node_def.mutable_attr()))["_XlaMustCompile"] = BoolAttr(true);
    
      // Note: need to set attribute on the created node.
      Status status = xla_kernel_creator.CreateKernel(flr_, callsite, &kernel_);
      ASSERT_TRUE(status.ok()) << status.ToString();
    
      EXPECT_EQ("XTimesY", kernel_->name());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 16 01:39:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/extract_tpu_copy_with_dynamic_shape_op.cc

      auto new_launch_op = builder.create<tf_device::LaunchOp>(
          old_launch_op->getLoc(), old_launch_op->getDeviceAttr(),
          /*result_types=*/new_launch_op_results_types);
    
      new_launch_op.getBody().takeBody(old_launch_op->getBody());
      new_launch_op.GetBody().getTerminator()->setOperands(new_launch_op_results);
    
      return new_launch_op;
    }
    
    // Create the new device launch op which wraps the copy op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_func_to_bfloat16.cc

                                                    new_results)))
          return failure();
    
        // Update the regions. The dialect conversion framework wants new regions to
        // be created and updated, rather than updating the old op. Thus we use an
        // OperationState so we can add regions to the new op.
        OperationState state(op->getLoc(), op->getName().getStringRef(), operands,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc

          OpBuilder replacer(yield_op);
          island_op.getBody().push_back(new Block);
          replacer.create<mlir::func::ReturnOp>(yield_op.getLoc(),
                                                yield_op.getOperands());
          yield_op.erase();
        }
    
        // Remap the captured operands in the (former) island block with newly
        // created entry block arguments in the function body.
        {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/cluster_formation.cc

      // Set insertion point to right after all operations in cluster.
      builder->setInsertionPoint(c.ops.back()->getNextNode());
    
      // Create a stand-alone region to hold all instructions in the cluster.
      Region region;
      region.push_back(new Block);
    
      // Move all operations in cluster to newly created region, stripping their
      // "device" attribute since launch op already carries device information.
      Block* block = &region.front();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 05 13:30:21 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args_test.cc

      ConvertAssetArgsTest() {
        ctx_.loadDialect<func::FuncDialect, TF::TensorFlowDialect,
                         tf_saved_model::TensorFlowSavedModelDialect>();
      }
    
      // Parses `module_op_str` to create a `ModuleOp`. Checks whether the created
      // module op is valid.
      OwningOpRef<ModuleOp> ParseModuleOpString(
          const absl::string_view module_op_str) {
        auto module_op_ref = parseSourceString<ModuleOp>(module_op_str, &ctx_);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/initialize_variables_in_session_init.cc

      auto var_handle_op_in_init = var_handle_op->clone();
      builder.insert(var_handle_op_in_init);
      auto const_op = builder.create<mlir::arith::ConstantOp>(
          session_init_func.getLoc(), tensor_attr.getType(), tensor_attr);
    
      builder.create<TF::AssignVariableOp>(
          session_init_func.getLoc(), llvm::ArrayRef<mlir::Type>{},
          llvm::ArrayRef<mlir::Value>{var_handle_op_in_init->getResult(0),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top