Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 263 for created (0.13 sec)

  1. tensorflow/compiler/mlir/lite/quantization/import_quant_stats_pass.cc

          }
        }
      });
    }
    
    // Creates an instance of the default quant parameters pass.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateImportQuantStatsPass(
        OperationToName op_to_name, const std::string &stats_str) {
      auto pass = std::make_unique<ImportQuantStatsPass>(op_to_name);
      if (pass->ParseQuantStats(stats_str)) return nullptr;
      return pass;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 10:41:08 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_regions.cc

      }
      void runOnOperation() override;
    };
    
    // Creates a call to function `func` in region `caller_region`. Use `args` as
    // the call arguments, and terminate the region with a yield. The arguments are
    // cast to the required type before the call. `use_region_args` control whether
    // the input arguments are used as is (for IfOp) or block arguments of the same
    // type as the input arguments are created and then used as call arguments (for
    // While).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc

        return tokens[0];
      } else {
        return builder.create<AfterAllOp>(loc, original_token.getType(), tokens)
            .getResult();
      }
    }
    
    // Replaces `tf._XlaHostComputeMlir` with individual `mhlo.send` and `mhlo.recv`
    // ops per operand and result. Unique Channel IDs are assigned per transfer.
    // Sink tokens are created across all `mhlo.send` ops first and then by
    // all `mhlo.recv` ops.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_device.cc

    // Caches a XlaDeviceAllocator per <backend, device ordinal> pair. A
    // XlaDeviceAllocator is created on demand and is associated with a
    // XlaDevice. It outlives the device itself (for instance, the buffer
    // backing a tensor holds a pointer to the allocator for book-keeping,
    // and this buffer can outlast the device).
    class XlaDeviceAllocatorState {
     public:
      // Creates or returns a cached XlaDeviceAllocator for a given
      // backend and device_ordinal.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 21:05:42 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_test.cc

    //    only worker 1.
    // 2. Create a context B using A.
    // 3. Create the variable in B.
    // 4. Create another single host server def C with only worker 0.
    // 5. Start the GRPC server for worker 0 using C.
    // 6. Create a context D using the full cluster server def E.
    // 7. Read the variable in D.
    TEST(CAPI, SingleHostServerDefV1Works) {
      // Create a server def that represents a 2-process cluster and a client.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

        auto begin_op =
            rewriter.create<arith::ConstantOp>(op->getLoc(), type, begin_attr);
        auto end_attr = DenseElementsAttr::get<int32_t>(type, padded_end);
        auto end_op =
            rewriter.create<arith::ConstantOp>(op->getLoc(), type, end_attr);
        auto stride_attr = DenseElementsAttr::get<int32_t>(type, padded_stride);
        auto stride_op =
            rewriter.create<arith::ConstantOp>(op->getLoc(), type, stride_attr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_head_tail_outside_compilation.cc

    }
    
    // Wraps block in a Launch. External uses of ops in the block will be return
    // values of the Launch and remapped to the Launch results. If `before` is set
    // to true, the Launch is created before `op`. Otherwise the Launch is created
    // after `op`.
    mlir::tf_device::LaunchOp CreateLaunchForBlock(OpBuilder* builder,
                                                   Operation* op, bool before,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top