Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 130 for input_type (0.37 sec)

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

    // matches `initializer_type`.
    bool IsInitializerType(func::FuncOp init_func_op, StringRef initializer_type) {
      auto init_type =
          init_func_op->getAttrOfType<StringAttr>(kTfSavedModelInitializerTypeAttr);
      return init_type && init_type == initializer_type;
    }
    
    // Returns the initializer function whose tf_saved_model.initializer_type
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 16 15:04:53 UTC 2023
    - 14K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_cluster_util.cc

      if (!s.ok()) {
        return std::nullopt;
      }
      return attr_value->s();
    }
    
    bool HasResourceInputOrOutput(const Node& node) {
      return std::find(node.input_types().begin(), node.input_types().end(),
                       DT_RESOURCE) != node.input_types().end() ||
             std::find(node.output_types().begin(), node.output_types().end(),
                       DT_RESOURCE) != node.output_types().end();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate_cl.h

    #include "llvm/Support/CommandLine.h"
    
    // Please see the implementation file for documentation of these options.
    
    // Import options.
    extern llvm::cl::opt<std::string> input_arrays;
    extern llvm::cl::opt<std::string> input_dtypes;
    extern llvm::cl::opt<std::string> input_shapes;
    extern llvm::cl::opt<std::string> output_arrays;
    extern llvm::cl::opt<std::string> control_output_arrays;
    extern llvm::cl::opt<std::string> inference_type;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 10 20:59:50 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc

    absl::StatusOr<ElementsAttr> ConvertTensor(const Tensor& input_tensor,
                                               Builder* builder) {
      const auto& input_dtype = input_tensor.dtype();
      const auto& input_shape = input_tensor.shape();
      Type elt_type;
      TF_RETURN_IF_ERROR(ConvertDataType(input_dtype, *builder, &elt_type));
      SmallVector<int64_t, 4> shape;
      ConvertToMlirShape(input_shape, &shape);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  5. tensorflow/c/eager/tape.h

        absl::Span<const int64_t> input_tensor_id,
        absl::Span<const tensorflow::DataType> input_dtypes,
        const std::function<BackwardFunction*()>& backward_function_getter,
        const std::function<void(BackwardFunction*)>& backward_function_deleter) {
      if (!ShouldRecord(input_tensor_id, input_dtypes)) {
        return;
      }
      std::vector<int64_t> ids;
      ids.reserve(input_tensor_id.size());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 12:40:29 UTC 2024
    - 47.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

      // Populate inputs.
      std::vector<DataType> input_dtypes;
      TF_RETURN_IF_ERROR(GetNodeAttr(call_node->attrs(), "Tinputs", &input_dtypes));
      std::vector<NodeDefBuilder::NodeOut> inputs(input_dtypes.size());
      for (auto e : call_node->in_edges()) {
        if (e->IsControlEdge()) {
          continue;
        }
    
        const int input_dtypes_size = input_dtypes.size();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/model/internal/fixture/ModelRegistryHelperExtension.java

                .build();
        }
    
        public static <C, I> ModelRegistration unmanaged(ModelRegistrations.Builder builder, Class<C> type, Class<I> inputType, Transformer<? extends C, ? super I> action) {
            return unmanaged(builder, ModelType.of(type), ModelType.of(inputType), action);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  8. tensorflow/c/eager/gradients.cc

                               const string& op_name) {
      std::vector<int64_t> input_ids(inputs.size());
      std::vector<tensorflow::DataType> input_dtypes(inputs.size());
      for (int i = 0; i < inputs.size(); i++) {
        input_ids[i] = ToId(inputs[i]);
        input_dtypes[i] = inputs[i]->DataType();
      }
      std::vector<TapeTensor> tape_tensors;
      tape_tensors.reserve(outputs.size());
      for (auto t : outputs) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/InstrumentingClassTransform.java

    import static org.objectweb.asm.Opcodes.INVOKESPECIAL;
    import static org.objectweb.asm.Opcodes.INVOKESTATIC;
    import static org.objectweb.asm.Opcodes.INVOKEVIRTUAL;
    import static org.objectweb.asm.Type.INT_TYPE;
    import static org.objectweb.asm.Type.getMethodDescriptor;
    import static org.objectweb.asm.Type.getObjectType;
    import static org.objectweb.asm.Type.getType;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 01:16:36 UTC 2024
    - 32K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.h

        bool use_splatted_constant, const std::vector<std::string>& extra_tf_opdefs,
        const GraphImportConfig& specs, absl::string_view debug_info_file,
        absl::string_view input_arrays, absl::string_view input_dtypes,
        absl::string_view input_shapes, absl::string_view output_arrays,
        absl::string_view control_output_arrays, llvm::SourceMgr* source_mgr,
        mlir::MLIRContext* context);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 08:30:24 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top