Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 103 for result_types (0.2 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        // Sometimes the result type is more specific than what the reshape builder
        // can infer.
        auto result_type = op.getResult().getType();
        rewriter.replaceOpWithNewOp<ReshapeOp>(op, result_type, permuted,
                                               output_shape);
    
        return success();
      }
    };
    
    class LowerBatchToSpaceND : public RewritePattern {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      for (auto it : llvm::zip(op.getResultTypes(), updated_results)) {
        auto& updated_result = std::get<1>(it);
        Type result_type = std::get<0>(it);
        if (result_type != updated_result.getType()) {
          updated_result =
              rewriter.create<TF::CastOp>(op.getLoc(), result_type, updated_result,
                                          /*Truncate=*/rewriter.getBoolAttr(false));
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/build-operations/src/testFixtures/groovy/org/gradle/internal/operations/TestBuildOperationRunner.java

                    return new TypedRecord<D, R>(
                        descriptor,
                        BuildOperationTypes.detailsType(buildOperationType).cast(descriptor.getDetails()),
                        BuildOperationTypes.resultType(buildOperationType).cast(result),
                        failure
                    );
                }
    
            }
    
            public static class TypedRecord<D, R> {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:33:49 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        auto indices_value = gather_nd_first.getIndices();
    
        auto result_type = dyn_cast<RankedTensorType>(result_value.getType());
        auto params_type = dyn_cast<RankedTensorType>(params_value.getType());
        auto indices_type = dyn_cast<RankedTensorType>(indices_value.getType());
    
        // Handle static shape cases only.
        if (!result_type || !params_type || !indices_type) return failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc

                                  PatternRewriter* rewriter) {
      auto shape_tensor = createI64ConstantOp(
          tensorflow::ConvertMlirShapeToTF(shape), loc, rewriter);
      Type resultType = RankedTensorType::get(shape, element_type);
      return rewriter->create<TF::ReshapeOp>(loc, resultType, /*tensor=*/value,
                                             /*shape=*/shape_tensor);
    }
    
    // Creates ReshapeOp with runtime calcuation of required shape to support
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

        return success();
      }
    
      void rewrite(stablehlo::UniformDequantizeOp op,
                   PatternRewriter& rewriter) const override {
        rewriter.replaceOpWithNewOp<TFL::DequantizeOp>(
            op, /*resultTypes=*/op->getResultTypes(), /*input=*/op.getOperand());
      }
    };
    
    // Rewrites `stablehlo.dot_general` to `tfl.fully_connected` or
    // `tfl.batch_matmul` when it accepts uniform quantized tensors.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

                output_scale_value, output_zero_point_value);
    
        auto new_dot_general_op = rewriter.create<stablehlo::DotGeneralOp>(
            op.getLoc(), /*resultType0=*/
            mlir::cast<TensorType>(op.getResult().getType())
                .clone(output_uniform_quantized_type),
            /*lhs=*/op.getLhs(), /*rhs=*/op.getRhs(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  8. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

    class TestEventListenersAccessor;
    class TestEventRepeater;
    class UnitTestRecordPropertyTestHelper;
    class WindowsDeathTest;
    class UnitTestImpl* GetUnitTestImpl();
    void ReportFailureInUnknownLocation(TestPartResult::Type result_type,
                                        const std::string& message);
    
    }  // namespace internal
    
    // The friend relationship of some of these classes is cyclic.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

      let hasRegionVerifier = 1;
    
      let builders = [
        OpBuilder<(ins "TypeRange":$resultTypes, "ValueRange":$operands,
          "llvm::ArrayRef<::mlir::NamedAttribute>":$attributes,
          "unsigned":$numRegions),
        [{
          assert(numRegions == 2u && "mismatched number of regions");
          build($_builder, $_state, resultTypes, operands, attributes);
        }]>];
    
      let hasCanonicalizer = 1;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    	Doc:        analysisutil.MustExtractDoc(doc, "printf"),
    	URL:        "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/printf",
    	Requires:   []*analysis.Analyzer{inspect.Analyzer},
    	Run:        run,
    	ResultType: reflect.TypeOf((*Result)(nil)),
    	FactTypes:  []analysis.Fact{new(isWrapper)},
    }
    
    // Kind is a kind of fmt function behavior.
    type Kind int
    
    const (
    	KindNone   Kind = iota // not a fmt wrapper function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
Back to top