Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for called_computation (0.96 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_custom_call_to_composite.cc

              "not a dictionary");
    
        auto calledComputations = op.getCalledComputations();
        if (!calledComputations || calledComputations.size() != 1)
          return op->emitError("expected exactly one called_computation");
    
        auto decomposition = mlir::cast<FlatSymbolRefAttr>(calledComputations[0]);
    
        auto composite = rewriter.create<mlir::stablehlo::CompositeOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

          return op.emitOpError() << "ApproxTopK takes an even number of operands.";
        }
    
        auto called_computations = op.getCalledComputations();
        if (called_computations.size() != 1) {
          return op.emitOpError()
                 << "ApproxTopK takes exactly 1 called_computation.";
        }
        mlir::func::FuncOp callee = module_op_->lookupSymbol<mlir::func::FuncOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo_custom_call.mlir

      %0 = "vhlo.custom_call_v1" (%arg0, %arg1) <{api_version = #vhlo<api_version_v1 API_VERSION_ORIGINAL>, 
        backend_config = #vhlo.string_v1<"">,
        call_target_name = #vhlo.string_v1<"tf.ResizeBilinear">,
        called_computations = #vhlo.array_v1<[]>,
        has_side_effect = #vhlo.bool_v1<false>,
        operand_layouts = #vhlo.array_v1<[]>,
        output_operand_aliases = #vhlo.array_v1<[]>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/tests/stablehlo-custom-call-legalize-composite.mlir

        %1:2 = stablehlo.custom_call @stablehlo.composite(%arg0, %arg1) {called_computations = [@foo.impl], composite.backend_config = {attributes = {bar = 500 : i64}, name = "odml.foo"}} : (tensor<1xf32>, tensor<2xf32>) -> (tensor<2xf32>, tensor<1xf32>)
        return
      }
      // CHECK-LABEL: func private @foo.impl
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 19:49:44 UTC 2024
    - 1009 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

        attributes.emplace_back(builder.getNamedAttr(
            "backend_config", BuildVhloStringV1Attr(op->backend_config, builder)));
        attributes.emplace_back(builder.getNamedAttr(
            "called_computations", BuildVhloArrayV1Attr({}, builder)));
        attributes.emplace_back(builder.getNamedAttr(
            "operand_layouts", BuildVhloArrayV1Attr({}, builder)));
        attributes.emplace_back(builder.getNamedAttr(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/schema/schema.fbs

      iota_dimension : long;
    }
    
    table StablehloCustomCallOptions {
      call_target_name : string;
      has_side_effect : bool;
      backend_config: string;
      api_version : int; // will be decprecated
      called_computations: [int]; // should point to subgraphs of the computations
      custom_attributes : [ubyte];
    }
    
    table StablehloReduceOptions {
      dimensions : [long];
      body_subgraph_index : int;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/schema/schema_generated.h

      { auto _e = api_version(); _o->api_version = _e; }
      { auto _e = called_computations(); if (_e) { _o->called_computations.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->called_computations[_i] = _e->Get(_i); } } else { _o->called_computations.resize(0); } }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1M bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

      %0:2 = mhlo.custom_call @ApproxTopK(%arg0, %arg1, %arg2, %arg3) {
        api_version = 4 : i32,
        called_computations = [@top_k_gt_f32_comparator],
        backend_config = {
          aggregate_to_topk = true,
          is_fallback = true,
          recall_target = 8.500000e-01 : f32,
          reduction_dim = 1 : i64,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 340.2K bytes
    - Viewed (0)
Back to top