Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for GetOperation (0.39 sec)

  1. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

        return op.getOperation();
      }
      auto op = builder.create<tfl::ConstOp>(loc, value);
      op->setAttr("tfl.is_variable", builder.getUnitAttr());
      if (tensor.quantization && !tensor.quantization->min.empty()) {
        if (auto stats_op =
                ConvertMinMaxToStatsOp(tensor, builder, op.getResult())) {
          return stats_op;
        }
      }
      return op.getOperation();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

            return WalkResult::interrupt();
          // Mark op as stateful due to side-effecting communication ops.
          if_op->setAttr("is_stateless", builder.getBoolAttr(false));
          MarkOutsideCompiled(host_if.getOperation());
        }
        if (auto while_op = llvm::dyn_cast<mlir::TF::WhileRegionOp>(op)) {
          if (!HasOutsideCompilationNested(op)) return WalkResult::advance();
          OpBuilder builder(while_op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

        if (!it.second.is_written) continue;
        int index = it.second.result_index - num_old_results;
        new_result_types[index] = it.second.data_type;
        new_while_operands[index] = it.second.hoisted_read;
      }
      op.getOperation()->insertOperands(op.getNumOperands(), new_while_operands);
    
      // Patch the cond and body regions to have additional arguments, and replace
      // the remaining resource reads (which will be resource reads for written
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GradleResolveVisitor.java

        }
    
        @Override
        protected Expression transformBinaryExpression(BinaryExpression be) {
            Expression left = transform(be.getLeftExpression());
            int type = be.getOperation().getType();
            if ((type == Types.ASSIGNMENT_OPERATOR || type == Types.EQUAL)
                && left instanceof ClassExpression) {
                ClassExpression ce = (ClassExpression) left;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

    #include "tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.inc"
    
    void QuantizeCompositeFunctionsPass::runOnOperation() {
      MLIRContext* ctx = &getContext();
      ModuleOp module = getOperation();
    
      PassManager pm(ctx);
      // Intermediate output from QuantizePass will have PartitionedCall ops with
      // quantized input and output types, which are not allowed in TF dialect.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

          return failure();
        }
    
        return success();
      }
    };
    
    void ComposeUniformQuantizedTypePass::runOnOperation() {
      ModuleOp module_op = getOperation();
      MLIRContext& ctx = getContext();
    
      RewritePatternSet patterns(&ctx);
      patterns.add<ComposeUniformQuantizedConvolutionOp,
                   ComposeUniformQuantizedDotGeneralOp,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

      }
    };
    
    void PrepareTFPass::runOnOperation() {
      MLIRContext *ctx = &getContext();
      RewritePatternSet patterns(ctx);
      RewritePatternSet phase_2_patterns(ctx);
      auto func = getOperation();
    
      // Check illegal ops in a TFLite pipeline (e.g. trainning only ops) , since
      // PrepareTFPass is the very first TFLite pass in the pipeline.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        }
        return WalkResult::advance();
      });
      return res.wasInterrupted();
    }
    
    void LowerStaticTensorListPass::runOnOperation() {
      auto *context = &getContext();
      ModuleOp module = getOperation();
    
      // When allow_tensorlist_pass_through_ == false the target dynamic legal
      // checks will cause this pass to fail if there are any variant type tensors
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

      return new_caller;
    }
    
    void EmbeddingPipeliningPass::runOnOperation() {
      LOG(INFO) << "EmbeddingPipeliningPass::runOnOperation()";
      ModuleOp module = getOperation();
    
      // We only use one of the EmbeddingPipelining and EmbeddingSequencing passes.
      if (!UseEmbeddingPipelining(module)) return;
    
      SymbolTable symbol_table(module);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
Back to top