Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for created (0.29 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

        func::FuncOp parent_func, ModuleOp module, const std::string& name,
        bool flag_for_inlining) {
      // Moves all of the Operations in 'ops' into a newly created func.FuncOp
      // function named 'name' and replaces the original ops with a call to the
      // newly created function using a tf.StatefulPartitionedCall. Here,
      // 'parent_func' is the function that holds the original set of ops.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/deadness_analysis_test.cc

        ::tensorflow::protobuf::TextFormat::PrintToString(graph_def, &serialized);
        LOG(INFO) << serialized;
      }
    }
    
    struct InductionVarInfo {
      Output induction_var;
      Output loop_cond;
    };
    
    // Creates an induction variable with the following structure (simplified for
    // brevity):
    //
    //            +---------------+
    //            | initial_value |
    //            +---------------+
    //              |
    //              |
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

      if (!shaped_type) {
        return errors::Internal("Constant doesn't have a shape");
      }
      auto op = builder.create<tfl::ExternalConstOp>(
          loc, shaped_type, builder.getI32IntegerAttr(buffer_index));
      return op.getOperation();
    }
    
    // TODO(b/172664358): Creates a new op instead of reusing constant op.
    // Creates a constant op with "tfl.is_variable" attribute to represent stateful
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  4. tensorflow/cc/gradients/math_grad.cc

      auto output_shape_kept_dims =
          ReducedShapeHelper(scope, input_shape, op.input(1));
    
      // This step "flips" any 1s with values from the input_shape, and
      // replaces remaining entries with 1. This creates a shape that
      // shows how much each dimension in the incoming gradient should be
      // replicated.
      // tile_scaling = [1, 3]
      auto tile_scaling = SafeDivHelper(scope, input_shape, output_shape_kept_dims);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 50.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/mark_for_compilation_pass.cc

        // if a special Identity node in the following pattern is clustered in.
        // That is, an Identity node in the loop cond computation is used to drive
        // const nodes consumed by the loop body.  If this Identity node goes into
        // the same cluster with nodes from the loop body, extra dependency is
        // created between the loop cond and body computations and it hinders the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/deadness_analysis.cc

          return;
        }
        for (Predicate* op : current->GetOperands()) {
          if (visited.insert(op).second) {
            stack.push_back(op);
          }
        }
      }
    }
    
    // Creates and owns Predicate instances.  Simplifies predicates as it creates
    // them.
    class PredicateFactory {
     public:
      Predicate* MakeAndPredicate(absl::Span<Predicate* const> operands) {
        return MakeAndOrImpl(operands, /*is_and=*/true);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

      EXPECT_EQ(clusters["B_dev1"], clusters["MatMul1_dev1"]);
    }
    
    // TODO(b/117085735): This form of clustering should be prevented.
    TEST(XlaCompilationTest, NOT_DontClusterSpreadingNodes) {
      // MatMulSource below creates data for nodes on GPU0 and GPU1 and is placed
      // on GPU0. However, it should not be clustered with the next node on
      // GPU0, because that will prevent the node on GPU1 from beginning its work as
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
Back to top